• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

podio-community / podio-php / 5919248423

20 Aug 2023 07:35PM UTC coverage: 54.871% (+1.4%) from 53.497%
5919248423

Pull #242

github

daniel-sc
fix linter II
Pull Request #242: More fixes

181 of 181 new or added lines in 43 files covered. (100.0%)

1149 of 2094 relevant lines covered (54.87%)

34.44 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/models/PodioTag.php
1
<?php
2
/**
3
 * @see https://developers.podio.com/doc/tags
4
 */
5
class PodioTag extends PodioObject
6
{
7
    public function __construct($attributes = array())
8
    {
9
        parent::__construct();
×
10
        $this->property('count', 'integer');
×
11
        $this->property('text', 'string');
×
12

13
        $this->init($attributes);
×
14
    }
15

16
    /**
17
     * @see https://developers.podio.com/doc/tags/create-tags-22464
18
     */
19
    public static function create(PodioClient $podio_client, $ref_type, $ref_id, $attributes = array())
20
    {
21
        return $podio_client->post("/tag/{$ref_type}/{$ref_id}/", $attributes);
×
22
    }
23

24
    /**
25
     * @see https://developers.podio.com/doc/tags/update-tags-39859
26
     */
27
    public static function update(PodioClient $podio_client, $ref_type, $ref_id, $attributes = array())
28
    {
29
        return $podio_client->put("/tag/{$ref_type}/{$ref_id}/", $attributes);
×
30
    }
31

32
    /**
33
     * @see https://developers.podio.com/doc/tags/remove-tag-22465
34
     */
35
    public static function delete(PodioClient $podio_client, $ref_type, $ref_id, $attributes = array())
36
    {
37
        return $podio_client->delete("/tag/{$ref_type}/{$ref_id}/", $attributes);
×
38
    }
39

40
    /**
41
     * @see https://developers.podio.com/doc/tags/get-tags-on-app-22467
42
     */
43
    public static function get_for_app(PodioClient $podio_client, $app_id, $attributes = array())
44
    {
45
        return self::listing($podio_client->get("/tag/app/{$app_id}/", $attributes));
×
46
    }
47
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc