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

podio-community / podio-php / 5883617846

16 Aug 2023 08:37PM UTC coverage: 49.426% (-4.1%) from 53.497%
5883617846

Pull #242

github

daniel-sc
small unit test to make sure coverage does not decrease besides removed lines.
Pull Request #242: More fixes

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

1033 of 2090 relevant lines covered (49.43%)

33.69 hits per line

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

0.0
/models/PodioNotificationGroup.php
1
<?php
2
/**
3
 * @see https://developers.podio.com/doc/notifications
4
 */
5
class PodioNotificationGroup extends PodioObject
6
{
7
    public function __construct($attributes = array())
8
    {
9
        parent::__construct();
×
10
        $this->has_one('context', 'NotificationContext');
×
11
        $this->has_many('notifications', 'Notification');
×
12

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

16
    /**
17
     * @see https://developers.podio.com/doc/notifications/get-notification-v2-2973737
18
     */
19
    public static function get(PodioClient $podio_client, $notification_id)
20
    {
21
        return self::member($podio_client->get("/notification/{$notification_id}/v2"));
×
22
    }
23

24
    /**
25
     * @see https://developers.podio.com/doc/notifications/get-notifications-290777
26
     */
27
    public static function get_all(PodioClient $podio_client, $attributes = array())
28
    {
29
        return self::listing($podio_client->get("/notification/", $attributes));
×
30
    }
31
}
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