Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add #[\AllowDynamicProperties] where needed #119

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Asana/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
use Asana\Resources\Projects;
use Asana\Resources\Users;

#[\AllowDynamicProperties]
class Client
{
const RETRY_DELAY = 1.0;
Expand Down
1 change: 1 addition & 0 deletions src/Asana/Dispatcher/AccessTokenDispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Asana\Dispatcher;

#[\AllowDynamicProperties]
class AccessTokenDispatcher extends Dispatcher
{
public function __construct($accessToken)
Expand Down
1 change: 1 addition & 0 deletions src/Asana/Iterator/CollectionPageIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Iterator\PageIterator;

#[\AllowDynamicProperties]
class CollectionPageIterator extends PageIterator
{
public $sync = null;
Expand Down
1 change: 1 addition & 0 deletions src/Asana/Iterator/ItemIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Asana\Iterator;

#[\AllowDynamicProperties]
class ItemIterator implements \Iterator
{
public function __construct($pages)
Expand Down
1 change: 1 addition & 0 deletions src/Asana/Resources/Attachments.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\AttachmentsBase;

#[\AllowDynamicProperties]
class Attachments extends AttachmentsBase
{
public function createOnTask($task, $content, $filename, $contentType, $options = array())
Expand Down
1 change: 1 addition & 0 deletions src/Asana/Resources/AuditLogAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\AuditLogAPIBase;

#[\AllowDynamicProperties]
class AuditLogAPI extends AuditLogAPIBase
{
}
1 change: 1 addition & 0 deletions src/Asana/Resources/BatchAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\BatchAPIBase;

#[\AllowDynamicProperties]
class BatchAPI extends BatchAPIBase
{
}
1 change: 1 addition & 0 deletions src/Asana/Resources/CustomFieldSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\CustomFieldSettingsBase;

#[\AllowDynamicProperties]
class CustomFieldSettings extends CustomFieldSettingsBase
{
/**
Expand Down
1 change: 1 addition & 0 deletions src/Asana/Resources/CustomFields.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\CustomFieldsBase;

#[\AllowDynamicProperties]
class CustomFields extends CustomFieldsBase
{
public function addEnumOption($customField, $params = array(), $options = array())
Expand Down
1 change: 1 addition & 0 deletions src/Asana/Resources/Events.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use Asana\Resources\Gen\EventsBase;
use Asana\Iterator\EventsPageIterator;

#[\AllowDynamicProperties]
class Events extends EventsBase
{
/**
Expand Down
1 change: 1 addition & 0 deletions src/Asana/Resources/GoalRelationships.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\GoalRelationshipsBase;

#[\AllowDynamicProperties]
class GoalRelationships extends GoalRelationshipsBase
{
}
1 change: 1 addition & 0 deletions src/Asana/Resources/Goals.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\GoalsBase;

#[\AllowDynamicProperties]
class Goals extends GoalsBase
{
}
1 change: 1 addition & 0 deletions src/Asana/Resources/Jobs.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\JobsBase;

#[\AllowDynamicProperties]
class Jobs extends JobsBase
{
/**
Expand Down
1 change: 1 addition & 0 deletions src/Asana/Resources/Memberships.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\MembershipsBase;

#[\AllowDynamicProperties]
class Memberships extends MembershipsBase
{
}
1 change: 1 addition & 0 deletions src/Asana/Resources/OrganizationExports.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\OrganizationExportsBase;

#[\AllowDynamicProperties]
class OrganizationExports extends OrganizationExportsBase
{
/**
Expand Down
1 change: 1 addition & 0 deletions src/Asana/Resources/PortfolioMemberships.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\PortfolioMembershipsBase;

#[\AllowDynamicProperties]
class PortfolioMemberships extends PortfolioMembershipsBase
{
/**
Expand Down
1 change: 1 addition & 0 deletions src/Asana/Resources/Portfolios.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\PortfoliosBase;

#[\AllowDynamicProperties]
class Portfolios extends PortfoliosBase
{
/**
Expand Down
1 change: 1 addition & 0 deletions src/Asana/Resources/ProjectBriefs.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\ProjectBriefsBase;

#[\AllowDynamicProperties]
class ProjectBriefs extends ProjectBriefsBase
{
}
1 change: 1 addition & 0 deletions src/Asana/Resources/ProjectMemberships.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\ProjectMembershipsBase;

#[\AllowDynamicProperties]
class ProjectMemberships extends ProjectMembershipsBase
{
/**
Expand Down
1 change: 1 addition & 0 deletions src/Asana/Resources/ProjectStatuses.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\ProjectStatusesBase;

#[\AllowDynamicProperties]
class ProjectStatuses extends ProjectStatusesBase
{
public function create($project, $params = array(), $options = array())
Expand Down
1 change: 1 addition & 0 deletions src/Asana/Resources/ProjectTemplates.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\ProjectTemplatesBase;

#[\AllowDynamicProperties]
class ProjectTemplates extends ProjectTemplatesBase
{
}
1 change: 1 addition & 0 deletions src/Asana/Resources/Projects.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\ProjectsBase;

#[\AllowDynamicProperties]
class Projects extends ProjectsBase
{
/**
Expand Down
1 change: 1 addition & 0 deletions src/Asana/Resources/Sections.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\SectionsBase;

#[\AllowDynamicProperties]
class Sections extends SectionsBase
{
/**
Expand Down
1 change: 1 addition & 0 deletions src/Asana/Resources/StatusUpdates.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\StatusUpdatesBase;

#[\AllowDynamicProperties]
class StatusUpdates extends StatusUpdatesBase
{
}
1 change: 1 addition & 0 deletions src/Asana/Resources/Stories.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\StoriesBase;

#[\AllowDynamicProperties]
class Stories extends StoriesBase
{
/**
Expand Down
1 change: 1 addition & 0 deletions src/Asana/Resources/Tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\TagsBase;

#[\AllowDynamicProperties]
class Tags extends TagsBase
{
/**
Expand Down
1 change: 1 addition & 0 deletions src/Asana/Resources/Tasks.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\TasksBase;

#[\AllowDynamicProperties]
class Tasks extends TasksBase
{
public function search($workspace, $params = array(), $options = array())
Expand Down
1 change: 1 addition & 0 deletions src/Asana/Resources/TeamMemberships.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\TeamMembershipsBase;

#[\AllowDynamicProperties]
class TeamMemberships extends TeamMembershipsBase
{
}
1 change: 1 addition & 0 deletions src/Asana/Resources/Teams.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\TeamsBase;

#[\AllowDynamicProperties]
class Teams extends TeamsBase
{
/**
Expand Down
1 change: 1 addition & 0 deletions src/Asana/Resources/TimePeriods.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\TimePeriodsBase;

#[\AllowDynamicProperties]
class TimePeriods extends TimePeriodsBase
{
}
1 change: 1 addition & 0 deletions src/Asana/Resources/Typeahead.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\TypeaheadBase;

#[\AllowDynamicProperties]
class Typeahead extends TypeaheadBase
{
}
1 change: 1 addition & 0 deletions src/Asana/Resources/UserTaskLists.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\UserTaskListsBase;

#[\AllowDynamicProperties]
class UserTaskLists extends UserTaskListsBase
{
/**
Expand Down
1 change: 1 addition & 0 deletions src/Asana/Resources/Users.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\UsersBase;

#[\AllowDynamicProperties]
class Users extends UsersBase
{
/**
Expand Down
1 change: 1 addition & 0 deletions src/Asana/Resources/Webhooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\WebhooksBase;

#[\AllowDynamicProperties]
class Webhooks extends WebhooksBase
{
/**
Expand Down
1 change: 1 addition & 0 deletions src/Asana/Resources/WorkspaceMemberships.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\WorkspaceMembershipsBase;

#[\AllowDynamicProperties]
class WorkspaceMemberships extends WorkspaceMembershipsBase
{
}
1 change: 1 addition & 0 deletions src/Asana/Resources/Workspaces.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Asana\Resources\Gen\WorkspacesBase;

#[\AllowDynamicProperties]
class Workspaces extends WorkspacesBase
{
/**
Expand Down