PHP configuration should not be changed dynamically

  • Major
  • Bugrisk

More information: https://insight.sensiolabs.com/what-we-analyse/php.dynamically_change_configuration

  1. /**
  2. * Prevent exceptions for deep-nested calls with enabled xDebug
  3. * @url http://stackoverflow.com/a/4293870/3640406
  4. */
  5. ini_set('xdebug.max_nesting_level', 200);

    Changing PHP configuration dynamically through ini_set() may create hard to debug errors.

    Time to fix: about 2 hours
    Open Issue Permalink
    Last edited by Spotman
  6. // -- Configuration and initialization -----------------------------------------
  7. // Import arguments in CLI mode
  8. if (PHP_SAPI === 'cli')

Missing use statement should be avoided 313

  • Major
  • Bugrisk

More information: https://insight.sensiolabs.com/what-we-analyse/php.missing_use_statement

  1. namespace BetaKiller\Acl\Resource;
  2. use BetaKiller\Status\StatusModelInterface;
  3. use BetaKiller\Status\StatusRelatedModelInterface;
  4. abstract class AbstractStatusRelatedEntityAclResource extends AbstractEntityRelatedAclResource implements StatusRelatedEntityAclResourceInterface

    The StatusRelatedEntityAclResourceInterface class resolves to the BetaKiller\Acl\Resource\StatusRelatedEntityAclResourceInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. {
  6. /**
  7. * Provides array of roles` names which are allowed to create entities
  8. *
  9. * @return string[]
  1. <?php
  2. namespace BetaKiller\Acl\Resource;
  3. use BetaKiller\Status\StatusModelInterface;
  4. interface StatusRelatedEntityAclResourceInterface extends EntityRelatedAclResourceInterface

    The EntityRelatedAclResourceInterface class resolves to the BetaKiller\Acl\Resource\EntityRelatedAclResourceInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. {
  6. /**
  7. * @return string[]
  8. */
  9. public function getStatusActionsList();
  1. use BetaKiller\Repository\RepositoryInterface;
  2. use Spotman\Api\Method\AbstractApiMethod;
  3. use BetaKiller\Model\AbstractEntityInterface;
  4. abstract class AbstractEntityBasedApiMethod extends AbstractApiMethod implements EntityBasedApiMethodInterface

    The EntityBasedApiMethodInterface class resolves to the BetaKiller\Api\Method\EntityBasedApiMethodInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. {
  6. /**
  7. * @var int
  8. */
  9. protected $id;
  1. /**
  2. * @Inject
  3. * @var \BetaKiller\Factory\RepositoryFactory
  4. */
  5. private $repositoryFactory;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\Api\Method\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. /**
  7. * @var \BetaKiller\Repository\RepositoryInterface
  8. */
  9. private $repository;
  1. {
  2. /**
  3. * @Inject
  4. * @var \BetaKiller\Model\UserInterface
  5. */
  6. private $user;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\Api\Resource\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. /**
  8. * @Inject
  9. * @var \BetaKiller\Repository\UserRepository
  10. */
  1. /**
  2. * @Inject
  3. * @var \BetaKiller\Repository\UserRepository
  4. */
  5. private $userRepository;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\Api\Resource\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. protected function updateProfile($data): void
  7. {
  8. $user = $this->user;
  1. <?php
  2. namespace BetaKiller\Config;
  3. class AppConfig implements AppConfigInterface

    The AppConfigInterface class resolves to the BetaKiller\Config\AppConfigInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  4. {
  5. const APP_CONFIG_GROUP_NAME = 'app';
  6. const CONFIG_PATH_IS_TRAILING_SLASH_ENABLED = ['url', 'is_trailing_slash_enabled'];
  7. const CONFIG_PATH_CIRCULAR_LINK_HREF = ['url', 'circular_link_href'];
  8. const CONFIG_PATH_PAGE_CACHE_ENABLED = ['cache', 'page', 'enabled'];
  1. /**
  2. * AppConfig constructor.
  3. *
  4. * @param \BetaKiller\Config\ConfigProviderInterface $_config
  5. */
  6. public function __construct(ConfigProviderInterface $_config)

    The ConfigProviderInterface type hint resolves to the BetaKiller\Config\ConfigProviderInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. {
  8. $this->_config = $_config;
  9. }
  10. /**
  1. <?php
  2. namespace BetaKiller\Config;
  3. use BetaKiller\Config\Implementations\Kohana;
  4. class ConfigProvider extends Kohana implements ConfigProviderInterface {}

    The ConfigProviderInterface class resolves to the BetaKiller\Config\ConfigProviderInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  1. use Doctrine\Common\Cache\ArrayCache;
  2. use Doctrine\Common\Cache\ChainCache;
  3. use Doctrine\Common\Cache\CacheProvider;
  4. class CommonFactoryCache extends ChainCache implements FactoryCacheInterface

    The FactoryCacheInterface class resolves to the BetaKiller\Factory\FactoryCacheInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. {
  6. /**
  7. * Constructor
  8. *
  9. * @param CacheProvider[] $cacheProviders
  1. *
  2. * @param \BetaKiller\Config\AppConfigInterface $appConfig
  3. * @param \BetaKiller\DI\ContainerInterface $container
  4. * @param \BetaKiller\Factory\FactoryCacheInterface $cache
  5. */
  6. public function __construct(AppConfigInterface $appConfig, ContainerInterface $container, FactoryCacheInterface $cache)

    The FactoryCacheInterface type hint resolves to the BetaKiller\Factory\FactoryCacheInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. {
  8. $this->appConfig = $appConfig;
  9. $this->container = $container;
  10. $this->classNamesCache = $cache;
  11. }
  1. use BetaKiller\Filter;
  2. use BetaKiller\Filter\Model\Value;
  3. use BetaKiller\Filter\Model\ValuesGroup;
  4. use BetaKiller\Model\UserInterface;
  5. abstract class AbstractFilter implements FilterInterface

    The FilterInterface class resolves to the following class: Zend\EventManager\Filter\FilterInterface.
    Did you forget to add a corresponding use statement?

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. {
  7. /**
  8. * @var UserInterface
  9. */
  10. protected $_user;
  1. * @param $name
  2. * @param \BetaKiller\Model\User|null $user
  3. *
  4. * @return mixed|\BetaKiller\Filter\FilterInterface
  5. */
  6. public function create($name, User $user = null): FilterInterface

    The FilterInterface class resolves to the following class: Zend\EventManager\Filter\FilterInterface.
    Did you forget to add a corresponding use statement?

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. {
  8. return $this->_create($name, $user);
  9. }
  10. }
  1. }
  2. return $this->_registry;
  3. }
  4. protected function add(FilterInterface $filter)

    The FilterInterface type hint resolves to the following class: Zend\EventManager\Filter\FilterInterface.
    Did you forget to add a corresponding use statement?

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. {
  6. $codename = $filter->getCodename();
  7. $this->getRegistry()->set($codename, $filter);
  8. }
  1. /**
  2. * @param GraphNodeModelInterface $target
  3. *
  4. * @return bool
  5. */
  6. public function has_target(GraphNodeModelInterface $target);

    The GraphNodeModelInterface type hint resolves to the BetaKiller\Graph\GraphNodeModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. /**
  8. * @return GraphNodeModelInterface[]
  9. */
  10. public function get_all_nodes();
  1. <?php
  2. namespace BetaKiller\Graph;
  3. use ORM;
  4. abstract class GraphNodeModelOrm extends ORM implements GraphNodeModelInterface

    The GraphNodeModelInterface class resolves to the BetaKiller\Graph\GraphNodeModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. {
  6. /**
  7. * @return string
  8. */
  9. public function get_codename()
  1. public function has_source(GraphNodeModelInterface $source)
  2. {
  3. return $this->transition_exists($source, $this);
  4. }
  5. public function has_target(GraphNodeModelInterface $target)

    The GraphNodeModelInterface type hint resolves to the BetaKiller\Graph\GraphNodeModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. {
  7. return $this->transition_exists($this, $target);
  8. }
  9. /**
  1. * @param GraphNodeModelInterface $source
  2. * @param GraphNodeModelInterface $target
  3. *
  4. * @return bool
  5. */
  6. public function transition_exists(GraphNodeModelInterface $source, GraphNodeModelInterface $target);

    The GraphNodeModelInterface type hint resolves to the BetaKiller\Graph\GraphNodeModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. }
  1. <?php
  2. namespace BetaKiller\Graph;
  3. use ORM;
  4. abstract class GraphTransitionModelOrm extends ORM implements GraphTransitionModelInterface

    The GraphTransitionModelInterface class resolves to the BetaKiller\Graph\GraphTransitionModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. {
  6. protected function _initialize()
  7. {
  8. $source_node_key = $this->get_source_node_relation_key();
  9. $target_node_key = $this->get_target_node_relation_key();
  1. /**
  2. * @param GraphNodeModelInterface $target
  3. *
  4. * @return GraphTransitionModelOrm
  5. */
  6. protected function filter_target_node(GraphNodeModelInterface $target)

    The GraphNodeModelInterface type hint resolves to the BetaKiller\Graph\GraphNodeModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. {
  8. return $this->where($this->get_target_node_relation_fk(), '=', $target->get_id());
  9. }
  10. /**
  1. {
  2. /**
  3. * @Inject
  4. * @var \Auth
  5. */
  6. private $auth;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\IFace\Auth\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. /**
  8. * @Inject
  9. * @var \BetaKiller\Helper\ResponseHelper
  10. */
  1. /**
  2. * @Inject
  3. * @var \BetaKiller\Helper\ResponseHelper
  4. */
  5. private $responseHelper;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\IFace\Auth\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. public function render(): string
  7. {
  8. // Sign out the user
  9. $this->auth->logout(true);
  1. <?php
  2. namespace BetaKiller\IFace\Url;
  3. use BetaKiller\Repository\AbstractUrlParameterRepository;
  4. abstract class AbstractConfigBasedUrlParameter implements ConfigBasedUrlParameterInterface

    The ConfigBasedUrlParameterInterface class resolves to the BetaKiller\IFace\Url\ConfigBasedUrlParameterInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. {
  6. /**
  7. * @var string
  8. */
  9. private $codename;
  1. *
  2. * @param \BetaKiller\IFace\Url\ConfigBasedUrlParameterInterface|mixed $parameter
  3. *
  4. * @return bool
  5. */
  6. public function isSameAs(UrlParameterInterface $parameter): bool

    The UrlParameterInterface type hint resolves to the BetaKiller\IFace\Url\UrlParameterInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. {
  8. return ($parameter::getUrlContainerKey() === $this::getUrlContainerKey()) && ($parameter->getCodename() === $this->getCodename());
  9. }
  10. }
  1. /**
  2. * Interface ConfigBasedUrlParameterInterface
  3. *
  4. * @package BetaKiller\Core
  5. */
  6. interface ConfigBasedUrlParameterInterface extends UrlParameterInterface

    The UrlParameterInterface class resolves to the BetaKiller\IFace\Url\UrlParameterInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. {
  8. /**
  9. * Config-based url parameters needs codename to be defined
  10. *
  11. * @return string
  1. <?php
  2. namespace BetaKiller\Model;
  3. abstract class AbstractRevisionOrmModel extends \ORM implements RevisionModelInterface

    The RevisionModelInterface class resolves to the BetaKiller\Model\RevisionModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  4. {
  5. /**
  6. * Prepares the model database connection, determines the table name,
  7. * and loads column information.
  8. *
  1. public function getLatestRevision()
  2. {
  3. return $this->orderByCreatedAt()->find();
  4. }
  5. public function setCreatedBy(UserInterface $model)

    The UserInterface type hint resolves to the BetaKiller\Model\UserInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. {
  7. return $this->set('owner', $model);
  8. }
  9. /**
  1. /**
  2. * @param \BetaKiller\Model\RevisionModelInterface $actual
  3. *
  4. * @return $this
  5. */
  6. public function filterPending(RevisionModelInterface $actual)

    The RevisionModelInterface type hint resolves to the BetaKiller\Model\RevisionModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. {
  8. $this->filter_datetime_column_value('created_at', $actual->getCreatedAt(), '>');
  9. return $this;
  10. }
  1. use BetaKiller\Search\ApplicableModelInterface;
  2. use BetaKiller\Search\SearchResultsItemInterface;
  3. use BetaKiller\Utils\Kohana\ORM\OrmInterface;
  4. use Spotman\Api\ApiResponseItemInterface;
  5. interface ExtendedOrmInterface

    The DispatchableEntityInterface class resolves to the BetaKiller\Model\DispatchableEntityInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. extends OrmInterface, ApiResponseItemInterface, DispatchableEntityInterface, ApplicableModelInterface, SearchResultsItemInterface
  7. {
  8. }
  1. {
  2. /**
  3. * @Inject
  4. * @var \BetaKiller\Model\UserInterface
  5. */
  6. private $user;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\Model\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. /**
  8. * @var \BetaKiller\Model\RevisionModelInterface
  9. */
  10. private $currentRevision;
  1. }
  2. /**
  3. * @return \BetaKiller\Model\RevisionModelInterface|null
  4. */
  5. protected function createRevisionIfChanged(): ?RevisionModelInterface

    The RevisionModelInterface class resolves to the BetaKiller\Model\RevisionModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. {
  7. $revision = $this->getCurrentRevision();
  8. // TODO разобраться с changed() (всегда true при сохранении поста так как формально данные были обновлены через set(), но по факту имели те же значения)
  1. /**
  2. * @param \BetaKiller\Model\RevisionModelInterface $model
  3. * @return void
  4. */
  5. private function setActualRevision(RevisionModelInterface $model)

    The RevisionModelInterface type hint resolves to the BetaKiller\Model\RevisionModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. {
  7. $this->set(RevisionModelInterface::ACTUAL_REVISION_KEY, $model);
  8. }
  9. private function getLatestRevision()
  1. /**
  2. * @return \BetaKiller\Model\AbstractRevisionOrmModel
  3. */
  4. private function getAllRevisionsRelation()
  5. {
  6. return $this->get(RevisionModelInterface::ALL_REVISIONS_KEY);

    The RevisionModelInterface class resolves to the BetaKiller\Model\RevisionModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. }
  8. /**
  9. * @return \BetaKiller\Model\RevisionModelInterface
  10. */
  1. *
  2. * @return $this
  3. */
  4. public function set($column, $value);
  5. public function setCreatedBy(UserInterface $model);

    The UserInterface type hint resolves to the BetaKiller\Model\UserInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. /**
  7. * @return UserInterface
  8. */
  9. public function getCreatedBy();
  1. /**
  2. * @param \BetaKiller\Model\RevisionModelInterface $actual
  3. *
  4. * @return $this
  5. */
  6. public function filterPending(RevisionModelInterface $actual);

    The RevisionModelInterface type hint resolves to the BetaKiller\Model\RevisionModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. }
  1. <?php
  2. namespace BetaKiller\Model;
  3. use BetaKiller\Utils\Kohana\TreeModelMultipleParentsOrm;
  4. class Role extends TreeModelMultipleParentsOrm implements RoleInterface

    The RoleInterface class resolves to the following class: Zend\Permissions\Acl\Role\RoleInterface.
    Did you forget to add a corresponding use statement?

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. {
  6. const GUEST_ROLE_NAME = 'guest';
  7. const LOGIN_ROLE_NAME = 'login';
  8. const ADMIN_ROLE_NAME = 'admin';
  9. const DEVELOPER_ROLE_NAME = 'developer';
  1. *
  2. * @param string $name
  3. *
  4. * @return RoleInterface|mixed
  5. */
  6. public function get_by_name($name): RoleInterface

    The RoleInterface class resolves to the following class: Zend\Permissions\Acl\Role\RoleInterface.
    Did you forget to add a corresponding use statement?

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. {
  8. return $this->model_factory()->where($this->object_column("name"), "=", $name)->find();
  9. }
  10. /**
  1. use BetaKiller\Notification\NotificationUserInterface;
  2. use BetaKiller\Utils\Kohana\ORM\OrmInterface;
  3. use Spotman\Acl\AclUserInterface;
  4. interface UserInterface extends AbstractEntityInterface, OrmInterface, NotificationUserInterface, AclUserInterface

    The AbstractEntityInterface class resolves to the BetaKiller\Model\AbstractEntityInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. {
  6. // Auth_ORM methods
  7. public function complete_login();
  1. /**
  2. * @param string|RoleInterface $role
  3. *
  4. * @return \BetaKiller\Model\UserInterface
  5. */
  6. public function addRole(RoleInterface $role): UserInterface;

    The RoleInterface type hint resolves to the following class: Zend\Permissions\Acl\Role\RoleInterface.
    Did you forget to add a corresponding use statement?

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. /**
  8. * Get all user`s roles IDs (include parent roles)
  9. *
  10. * @return int[]
  1. /**
  2. * @param string $number
  3. *
  4. * @return \BetaKiller\Model\UserInterface
  5. */
  6. public function setPhone(string $number): UserInterface;

    The UserInterface class resolves to the BetaKiller\Model\UserInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. /**
  8. * @return array
  9. */
  10. public function as_array(): array;
  1. <?php
  2. namespace BetaKiller\Model;
  3. class User extends \Model_Auth_User implements UserInterface

    The UserInterface class resolves to the BetaKiller\Model\UserInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  4. {
  5. protected $_all_roles_ids = [];
  6. protected function _initialize(): void
  7. {
  1. /**
  2. * @param string $role
  3. *
  4. * @return \BetaKiller\Model\RoleInterface
  5. */
  6. private function getRole(string $role): RoleInterface

    The RoleInterface class resolves to the following class: Zend\Permissions\Acl\Role\RoleInterface.
    Did you forget to add a corresponding use statement?

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. {
  8. /** @var \BetaKiller\Model\Role $roleOrm */
  9. $roleOrm = $this->model_factory(null, 'Role');
  10. return $roleOrm->get_by_name($role);
  1. /**
  2. * @param \BetaKiller\Model\RoleInterface|string $role
  3. *
  4. * @return \BetaKiller\Model\UserInterface
  5. */
  6. public function addRole(RoleInterface $role): UserInterface

    The RoleInterface type hint resolves to the following class: Zend\Permissions\Acl\Role\RoleInterface.
    Did you forget to add a corresponding use statement?

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. {
  8. return $this->add('roles', $role);
  9. }
  10. /**
  1. public function getPhone(): string
  2. {
  3. return (string)$this->get('phone');
  4. }
  5. public function setPhone(string $number): UserInterface

    The UserInterface class resolves to the BetaKiller\Model\UserInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. {
  7. return $this->set('phone', $number);
  8. }
  9. public function isEmailNotificationAllowed(): bool
  1. /**
  2. * @Inject
  3. * @var \Psr\Log\LoggerInterface
  4. */
  5. private $logger;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\Repository\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. /**
  7. * AbstractOrmBasedRepository constructor.
  8. *
  9. * @param \BetaKiller\Factory\OrmFactory $ormFactory
  1. <?php
  2. namespace BetaKiller\Repository;
  3. abstract class AbstractRepository implements RepositoryInterface

    The RepositoryInterface class resolves to the BetaKiller\Repository\RepositoryInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  4. {
  5. public static function getCodename(): string
  6. {
  7. $className = static::class;
  8. $pos = strrpos($className, '\\');
  1. {
  2. /**
  3. * @Inject
  4. * @var \BetaKiller\Repository\RoleRepository
  5. */
  6. private $roleRepository;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\Repository\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. public function searchBy(string $loginOrEmail): ?UserInterface
  8. {
  9. return $this->getOrmInstance()->searchBy($loginOrEmail);
  10. }
  1. * @param $page int
  2. * @param $itemsPerPage int|null
  3. *
  4. * @return \BetaKiller\Search\SearchResultsInterface
  5. */
  6. public function getSearchResults(int $page, ?int $itemsPerPage = null): SearchResultsInterface;

    The SearchResultsInterface class resolves to the BetaKiller\Search\SearchResultsInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. }
  1. namespace BetaKiller\Search;
  2. interface SearchResultsInterface extends \IteratorAggregate
  3. {
  4. public function addItem(SearchResultsItemInterface $item): void;

    The SearchResultsItemInterface type hint resolves to the BetaKiller\Search\SearchResultsItemInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. /**
  6. * @return int
  7. */
  8. public function getTotalCount(): int;
  1. namespace BetaKiller\Search;
  2. use Spotman\Api\ApiResponseItemInterface;
  3. use Traversable;
  4. class SearchResults implements SearchResultsInterface, ApiResponseItemInterface

    The SearchResultsInterface class resolves to the BetaKiller\Search\SearchResultsInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. {
  6. /**
  7. * @var \BetaKiller\Search\SearchResultsItemInterface[]
  8. */
  9. protected $items = [];
  1. $this->totalCount = $totalCount;
  2. $this->totalPages = $totalPages;
  3. $this->hasNextPage = $hasNextPage;
  4. }
  5. public static function factory($totalItems, $totalPages, $hasNextPage): SearchResultsInterface

    The SearchResultsInterface class resolves to the BetaKiller\Search\SearchResultsInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. {
  7. return new self($totalItems, $totalPages, $hasNextPage);
  8. }
  9. /**
  1. public function getIterator(): Traversable
  2. {
  3. return new \ArrayIterator($this->items);
  4. }
  5. public function addItem(SearchResultsItemInterface $item): void

    The SearchResultsItemInterface type hint resolves to the BetaKiller\Search\SearchResultsItemInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. {
  7. $this->items[] = $item;
  8. }
  9. public function getTotalCount(): int
  1. <?php
  2. namespace BetaKiller\Status;
  3. class AbstractStatusAclModelOrm extends \ORM implements StatusAclModelInterface

    The StatusAclModelInterface class resolves to the BetaKiller\Status\StatusAclModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  4. {
  5. /**
  6. * Prepares the model database connection, determines the table name,
  7. * and loads column information.
  8. *
  1. use BetaKiller\Graph\GraphNodeModelInterface;
  2. use BetaKiller\Graph\GraphNodeModelOrm;
  3. use BetaKiller\Graph\GraphTransitionModelInterface;
  4. abstract class StatusModelOrm extends GraphNodeModelOrm implements StatusModelInterface

    The StatusModelInterface class resolves to the BetaKiller\Status\StatusModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. {
  6. const STATUS_ACL_RELATION_KEY = 'status_acl';
  7. protected function _initialize()
  8. {
  1. * @param \BetaKiller\Status\StatusTransitionModelInterface $transition
  2. *
  3. * @return $this
  4. * @throws \BetaKiller\Status\StatusException
  5. */
  6. public function do_status_transition(StatusTransitionModelInterface $transition);

    The StatusTransitionModelInterface type hint resolves to the BetaKiller\Status\StatusTransitionModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. /**
  8. * @param string $codename
  9. *
  10. * @return bool
  1. *
  2. * @return $this
  3. * @deprecated
  4. * @todo Move to repo
  5. */
  6. public function filter_status(StatusModelInterface $status, $not_equal = false);

    The StatusModelInterface type hint resolves to the BetaKiller\Status\StatusModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. /**
  8. * @param int[] $status_ids
  9. * @param bool $not_equal
  10. *
  1. <?php
  2. namespace BetaKiller\Status;
  3. use ORM;
  4. abstract class StatusRelatedModelOrm extends ORM implements StatusRelatedModelInterface

    The StatusRelatedModelInterface class resolves to the BetaKiller\Status\StatusRelatedModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. {
  6. use StatusRelatedModelOrmTrait;
  7. protected function _initialize()
  8. {
  1. use ORM;
  2. abstract class StatusRelatedModelOrm extends ORM implements StatusRelatedModelInterface
  3. {
  4. use StatusRelatedModelOrmTrait;

    The StatusRelatedModelOrmTrait class resolves to the BetaKiller\Status\StatusRelatedModelOrmTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. protected function _initialize()
  6. {
  7. $this->initialize_related_model_relation();
  1. public function get_status_by_id($id)
  2. {
  3. return $this->get_status_relation()->model_factory($id);
  4. }
  5. public function do_status_transition(StatusTransitionModelInterface $transition)

    The StatusTransitionModelInterface type hint resolves to the BetaKiller\Status\StatusTransitionModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. {
  7. if ($transition->get_source_node()->get_id() !== $this->get_current_status()->get_id()) {
  8. throw new StatusException('Only transitions from current status are allowed');
  9. }
  1. /**
  2. * @param StatusModelInterface $target
  3. *
  4. * @return $this
  5. */
  6. protected function set_current_status(StatusModelInterface $target)

    The StatusModelInterface type hint resolves to the BetaKiller\Status\StatusModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. {
  8. return $this->set($this->get_status_relation_key(), $target);
  9. }
  10. protected function get_status_relation_key()
  1. namespace BetaKiller\Status;
  2. use BetaKiller\Graph\GraphTransitionModelOrm;
  3. use BetaKiller\Model\RoleInterface;
  4. abstract class StatusTransitionModelOrm extends GraphTransitionModelOrm implements StatusTransitionModelInterface

    The StatusTransitionModelInterface class resolves to the BetaKiller\Status\StatusTransitionModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. {
  6. /**
  7. * @Inject
  8. * @var \BetaKiller\Model\UserInterface
  9. */
  1. {
  2. /**
  3. * @Inject
  4. * @var \BetaKiller\Model\UserInterface
  5. */
  6. private $user;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\Status\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. protected function _initialize()
  8. {
  9. $this->has_many([
  10. $this->get_roles_relation_key() => [
  1. */
  2. public function __construct(NamespaceBasedFactory $factory)
  3. {
  4. $this->factory = $factory
  5. ->setClassPrefixes('Status', 'Workflow')
  6. ->setExpectedInterface(StatusWorkflowInterface::class);

    The StatusWorkflowInterface class resolves to the BetaKiller\Status\StatusWorkflowInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. }
  8. /**
  9. * @param string $name
  10. * @param StatusRelatedModelInterface $model
  1. * @param string $name
  2. * @param StatusRelatedModelInterface $model
  3. *
  4. * @return StatusWorkflowInterface
  5. */
  6. public function create($name, StatusRelatedModelInterface $model)

    The StatusRelatedModelInterface type hint resolves to the BetaKiller\Status\StatusRelatedModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. {
  8. return $this->factory->create($name, ['model' => $model]);
  9. }
  10. }
  1. <?php
  2. namespace BetaKiller\Status;
  3. abstract class StatusWorkflow implements StatusWorkflowInterface

    The StatusWorkflowInterface class resolves to the BetaKiller\Status\StatusWorkflowInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  4. {
  5. /**
  6. * @var StatusRelatedModelInterface
  7. */
  8. protected $model;
  1. /**
  2. * @var StatusRelatedModelInterface
  3. */
  4. protected $model;
  5. public function __construct(StatusRelatedModelInterface $model)

    The StatusRelatedModelInterface type hint resolves to the BetaKiller\Status\StatusRelatedModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. {
  7. $this->model = $model;
  8. }
  9. public function doTransition($codename)
  1. // TODO Store user, transition, related model_id (auto timestamp in mysql column)
  2. throw new \HTTP_Exception_501('Not implemented yet');
  3. }
  4. }
  5. protected function custom_target_transition_check(StatusTransitionModelInterface $transition)

    The StatusTransitionModelInterface type hint resolves to the BetaKiller\Status\StatusTransitionModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. {
  7. // Empty by default
  8. }
  9. public function isTransitionAllowed($codename)
  1. /**
  2. * @param string $key
  3. *
  4. * @return ConvertibleItemInterface
  5. */
  6. public function getItemByQueryKey(string $key): ConvertibleItemInterface;

    The ConvertibleItemInterface class resolves to the BetaKiller\URL\QueryConverter\ConvertibleItemInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. /**
  8. * @return string
  9. */
  10. public function getUrlQueryKeysNamespace(): string;
  1. /**
  2. * @Inject
  3. * @var \BetaKiller\Helper\ContentHelper
  4. */
  5. private $contentHelper;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\Widget\Admin\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. public function __construct(
  7. UserInterface $user,
  8. IFaceHelper $ifaceHelper,
  9. ContentUrlContainerHelper $cUrlParamHelper,
  1. {
  2. /**
  3. * @Inject
  4. * @var \BetaKiller\Helper\ContentUrlContainerHelper
  5. */
  6. private $contentUrlParametersHelper;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\Widget\Admin\Menu\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. /**
  8. * @Inject
  9. * @var \BetaKiller\Repository\ContentCommentStatusRepository
  10. */
  1. /**
  2. * @Inject
  3. * @var \BetaKiller\Repository\ContentCommentStatusRepository
  4. */
  5. private $commentStatusRepository;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\Widget\Admin\Menu\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. /**
  7. * Returns data for View rendering
  8. *
  9. * @return array
  1. <?php
  2. namespace BetaKiller\Acl\Resource;
  3. abstract class AbstractAssetsAclResource extends AbstractEntityRelatedAclResource implements AssetsAclResourceInterface

    The AssetsAclResourceInterface class resolves to the BetaKiller\Acl\Resource\AssetsAclResourceInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  4. {
  5. /**
  6. * @return bool
  7. */
  8. public function isUploadAllowed(): bool
  1. <?php
  2. namespace BetaKiller\Acl\Resource;
  3. interface AssetsAclResourceInterface extends EntityRelatedAclResourceInterface

    The EntityRelatedAclResourceInterface class resolves to the BetaKiller\Acl\Resource\EntityRelatedAclResourceInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  4. {
  5. const ACTION_UPLOAD = 'upload';
  6. /**
  7. * @return bool
  1. <?php
  2. namespace BetaKiller\Assets\Model;
  3. abstract class AbstractAssetsOrmImageModel extends AbstractAssetsOrmModel implements AssetsModelImageInterface

    The AssetsModelImageInterface class resolves to the BetaKiller\Assets\Model\AssetsModelImageInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  4. {
  5. /**
  6. * @return int
  7. */
  8. public function getWidth(): int
  1. /**
  2. * Class AbstractAssetsOrmModel
  3. *
  4. * Abstract class for all ORM-based asset models
  5. */
  6. abstract class AbstractAssetsOrmModel extends ORM implements AssetsModelInterface

    The AssetsModelInterface class resolves to the BetaKiller\Assets\Model\AssetsModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. {
  8. protected function _initialize(): void
  9. {
  10. $this->belongs_to([
  11. 'uploaded_by_user' => [
  1. *
  2. * @param integer $size
  3. *
  4. * @return AssetsModelInterface
  5. */
  6. public function setSize(int $size): AssetsModelInterface

    The AssetsModelInterface class resolves to the BetaKiller\Assets\Model\AssetsModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. {
  8. $this->set('size', $size);
  9. return $this;
  10. }
  1. <?php
  2. namespace BetaKiller\Assets\Model;
  3. interface AssetsModelImageInterface extends AssetsModelInterface

    The AssetsModelInterface class resolves to the BetaKiller\Assets\Model\AssetsModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  4. {
  5. const SIZE_ORIGINAL = 'original';
  6. const SIZE_PREVIEW = 'preview';
  7. // Dimensions values delimiter
  1. *
  2. * @param integer $size
  3. *
  4. * @return AssetsModelInterface
  5. */
  6. public function setSize(int $size): AssetsModelInterface;

    The AssetsModelInterface class resolves to the BetaKiller\Assets\Model\AssetsModelInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. /**
  8. * Returns array representation of the model
  9. *
  10. * @return array
  1. use File;
  2. use Request;
  3. use Route;
  4. use Upload;
  5. abstract class AbstractAssetsProvider implements AssetsProviderInterface

    The AssetsProviderInterface class resolves to the BetaKiller\Assets\Provider\AssetsProviderInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. {
  7. const CONFIG_KEY = 'assets';
  8. const CONFIG_DOC_ROOT_KEY = 'doc_root';
  9. const CONFIG_URL_PATH_KEY = 'url_path';
  10. const CONFIG_PROVIDERS_KEY = 'providers';
  1. <?php
  2. namespace BetaKiller\Assets\Provider;
  3. interface AttachmentAssetsProviderInterface extends AssetsProviderInterface {}

    The AssetsProviderInterface class resolves to the BetaKiller\Assets\Provider\AssetsProviderInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  1. * Class AttachmentAssetsProvider
  2. * Common attachment provider
  3. *
  4. * @package BetaKiller\Assets\Provider
  5. */
  6. final class AttachmentAssetsProvider extends AbstractAssetsProvider implements AttachmentAssetsProviderInterface {}

    The AttachmentAssetsProviderInterface class resolves to the BetaKiller\Assets\Provider\AttachmentAssetsProviderInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  1. namespace BetaKiller\Assets\Provider;
  2. use BetaKiller\Assets\Model\AssetsModelImageInterface;
  3. use BetaKiller\Assets\Model\AssetsModelInterface;
  4. interface ImageAssetsProviderInterface extends AssetsProviderInterface

    The AssetsProviderInterface class resolves to the BetaKiller\Assets\Provider\AssetsProviderInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. {
  6. /**
  7. * @param AssetsModelInterface $model
  8. * @param string $size 300x200
  9. *
  1. /**
  2. * Class ImageAssetsProvider
  3. * Common class for all image assets
  4. */
  5. final class ImageAssetsProvider extends AbstractAssetsProvider implements ImageAssetsProviderInterface

    The ImageAssetsProviderInterface class resolves to the BetaKiller\Assets\Provider\ImageAssetsProviderInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. {
  7. const CONFIG_MODEL_UPLOAD_KEY = 'upload';
  8. const CONFIG_MODEL_MAX_HEIGHT_KEY = 'max-height';
  9. const CONFIG_MODEL_MAX_WIDTH_KEY = 'max-width';
  10. const CONFIG_MODEL_PREVIEW_KEY = 'preview';
  1. /**
  2. * Class AbstractAssetsStorage
  3. * Abstract storage for assets
  4. */
  5. abstract class AbstractAssetsStorage implements AssetsStorageInterface

    The AssetsStorageInterface class resolves to the BetaKiller\Assets\Storage\AssetsStorageInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. {
  7. /**
  8. * @var string
  9. */
  10. private $basePath;
  1. use BetaKiller\Assets\AssetsException;
  2. use BetaKiller\Repository\HashUrlStrategyRepositoryInterface;
  3. use BetaKiller\Assets\Model\AssetsModelInterface;
  4. class HashAssetsUrlStrategy implements AssetsUrlStrategyInterface

    The AssetsUrlStrategyInterface class resolves to the BetaKiller\Assets\UrlStrategy\AssetsUrlStrategyInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. {
  6. /**
  7. * @var \BetaKiller\Repository\HashUrlStrategyRepositoryInterface
  8. */
  9. private $repository;
  1. {
  2. /**
  3. * @Inject
  4. * @var \BetaKiller\Assets\AssetsProviderFactory
  5. */
  6. private $providerFactory;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\Helper\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. /**
  8. * Returns URL for uploading new assets
  9. *
  10. * @param \BetaKiller\Assets\Model\AssetsModelInterface $model
  1. <?php
  2. namespace BetaKiller\Repository;
  3. use BetaKiller\Assets\Model\AssetsModelInterface;
  4. abstract class AbstractHashStrategyOrmBasedAssetsRepository extends AbstractOrmBasedRepository implements HashUrlStrategyRepositoryInterface

    The HashUrlStrategyRepositoryInterface class resolves to the BetaKiller\Repository\HashUrlStrategyRepositoryInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. {
  6. public function findByHash(string $hash): ?AssetsModelInterface
  7. {
  8. /** @var \BetaKiller\Assets\Model\AssetsModelInterface|mixed $model */
  9. $model = $this->getOrmInstance()->where('hash', '=', $hash)->find();
  1. use BetaKiller\Api\Method\AbstractEntityBasedApiMethod;
  2. use Spotman\Api\ApiMethodResponse;
  3. class ApproveApiMethod extends AbstractEntityBasedApiMethod
  4. {
  5. use ContentCommentMethodTrait;

    The ContentCommentMethodTrait class resolves to the BetaKiller\Api\Method\ContentComment\ContentCommentMethodTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. /**
  7. * ApproveApiMethod constructor.
  8. *
  9. * @param int $id
  1. use BetaKiller\Api\Method\AbstractEntityCreateApiMethod;
  2. class CreateApiMethod extends AbstractEntityCreateApiMethod
  3. {
  4. use ContentCommentMethodTrait;

    The ContentCommentMethodTrait class resolves to the BetaKiller\Api\Method\ContentComment\ContentCommentMethodTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. /**
  6. * Implement this method
  7. *
  8. * @param \BetaKiller\Model\ContentComment $model
  1. use BetaKiller\Api\Method\AbstractEntityBasedApiMethod;
  2. use Spotman\Api\ApiMethodResponse;
  3. class MarkAsSpamApiMethod extends AbstractEntityBasedApiMethod
  4. {
  5. use ContentCommentMethodTrait;

    The ContentCommentMethodTrait class resolves to the BetaKiller\Api\Method\ContentComment\ContentCommentMethodTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. /**
  7. * MarkAsSpamApiMethod constructor.
  8. *
  9. * @param int $id
  1. use BetaKiller\Api\Method\AbstractEntityBasedApiMethod;
  2. use Spotman\Api\ApiMethodResponse;
  3. class MoveToTrashApiMethod extends AbstractEntityBasedApiMethod
  4. {
  5. use ContentCommentMethodTrait;

    The ContentCommentMethodTrait class resolves to the BetaKiller\Api\Method\ContentComment\ContentCommentMethodTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. /**
  7. * MoveToTrashApiMethod constructor.
  8. *
  9. * @param int $id
  1. use BetaKiller\Api\Method\AbstractEntityBasedApiMethod;
  2. use Spotman\Api\ApiMethodResponse;
  3. class RejectApiMethod extends AbstractEntityBasedApiMethod
  4. {
  5. use ContentCommentMethodTrait;

    The ContentCommentMethodTrait class resolves to the BetaKiller\Api\Method\ContentComment\ContentCommentMethodTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. /**
  7. * RejectApiMethod constructor.
  8. *
  9. * @param int $id
  1. use BetaKiller\Api\Method\AbstractEntityBasedApiMethod;
  2. use Spotman\Api\ApiMethodResponse;
  3. class RestoreFromTrashApiMethod extends AbstractEntityBasedApiMethod
  4. {
  5. use ContentCommentMethodTrait;

    The ContentCommentMethodTrait class resolves to the BetaKiller\Api\Method\ContentComment\ContentCommentMethodTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. /**
  7. * RestoreFromTrashApiMethod constructor.
  8. *
  9. * @param int $id
  1. use BetaKiller\Api\Method\AbstractEntityUpdateApiApiMethod;
  2. class UpdateApiMethod extends AbstractEntityUpdateApiApiMethod
  3. {
  4. use ContentCommentMethodTrait;

    The ContentCommentMethodTrait class resolves to the BetaKiller\Api\Method\ContentComment\ContentCommentMethodTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. /**
  6. * Override this method
  7. *
  8. * @param \BetaKiller\Model\ContentComment $model
  1. use BetaKiller\Api\Method\AbstractEntityBasedApiMethod;
  2. use Spotman\Api\ApiMethodResponse;
  3. class CompleteApiMethod extends AbstractEntityBasedApiMethod
  4. {
  5. use ContentPostMethodTrait;

    The ContentPostMethodTrait class resolves to the BetaKiller\Api\Method\ContentPost\ContentPostMethodTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. /**
  7. * ApproveApiMethod constructor.
  8. *
  9. * @param int $id
  1. use BetaKiller\Api\Method\AbstractEntityCreateApiMethod;
  2. use Spotman\Api\ApiMethodException;
  3. class CreateApiMethod extends AbstractEntityCreateApiMethod
  4. {
  5. use ContentPostMethodTrait;

    The ContentPostMethodTrait class resolves to the BetaKiller\Api\Method\ContentPost\ContentPostMethodTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. /**
  7. * Implement this method
  8. *
  9. * @param \BetaKiller\Model\ContentPost $model
  1. use BetaKiller\Api\Method\AbstractEntityBasedApiMethod;
  2. use Spotman\Api\ApiMethodResponse;
  3. class FixApiMethod extends AbstractEntityBasedApiMethod
  4. {
  5. use ContentPostMethodTrait;

    The ContentPostMethodTrait class resolves to the BetaKiller\Api\Method\ContentPost\ContentPostMethodTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. /**
  7. * ApproveApiMethod constructor.
  8. *
  9. * @param int $id
  1. use BetaKiller\Api\Method\AbstractEntityBasedApiMethod;
  2. use Spotman\Api\ApiMethodResponse;
  3. class PauseApiMethod extends AbstractEntityBasedApiMethod
  4. {
  5. use ContentPostMethodTrait;

    The ContentPostMethodTrait class resolves to the BetaKiller\Api\Method\ContentPost\ContentPostMethodTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. /**
  7. * ApproveApiMethod constructor.
  8. *
  9. * @param int $id
  1. use BetaKiller\Api\Method\AbstractEntityBasedApiMethod;
  2. use Spotman\Api\ApiMethodResponse;
  3. class PublishApiMethod extends AbstractEntityBasedApiMethod
  4. {
  5. use ContentPostMethodTrait;

    The ContentPostMethodTrait class resolves to the BetaKiller\Api\Method\ContentPost\ContentPostMethodTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. /**
  7. * ApproveApiMethod constructor.
  8. *
  9. * @param int $id
  1. use BetaKiller\Api\Method\AbstractEntityUpdateApiApiMethod;
  2. class UpdateApiMethod extends AbstractEntityUpdateApiApiMethod
  3. {
  4. use ContentPostMethodTrait;

    The ContentPostMethodTrait class resolves to the BetaKiller\Api\Method\ContentPost\ContentPostMethodTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. /**
  6. * Override this method
  7. *
  8. * @param \BetaKiller\Model\ContentPost $model
  1. namespace BetaKiller\Assets\Handler;
  2. use BetaKiller\Assets\Provider\AssetsProviderInterface;
  3. use BetaKiller\Repository\EntityRepository;
  4. class SaveEntityRelationHandler implements AssetsHandlerInterface

    The AssetsHandlerInterface class resolves to the BetaKiller\Assets\Handler\AssetsHandlerInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. {
  6. const CODENAME = 'SaveEntityRelation';
  7. /**
  8. * @var \BetaKiller\Repository\EntityRepository
  1. <?php
  2. namespace BetaKiller\Content\CustomTag;
  3. abstract class AbstractCustomTag implements CustomTagInterface

    The CustomTagInterface class resolves to the BetaKiller\Content\CustomTag\CustomTagInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  4. {
  5. public static function getCodename(): string
  6. {
  7. $className = static::class;
  8. $pos = strrpos($className, '\\');
  1. public function __construct(NamespaceBasedFactory $factory)
  2. {
  3. $this->factory = $factory
  4. ->setClassPrefixes('Content', 'CustomTag')
  5. ->setClassSuffix('CustomTag')
  6. ->setExpectedInterface(CustomTagInterface::class);

    The CustomTagInterface class resolves to the BetaKiller\Content\CustomTag\CustomTagInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. }
  8. /**
  9. * @param string $name
  10. *
  1. /**
  2. * @param string $name
  3. *
  4. * @return \BetaKiller\Content\CustomTag\CustomTagInterface
  5. */
  6. public function create(string $name): CustomTagInterface

    The CustomTagInterface class resolves to the BetaKiller\Content\CustomTag\CustomTagInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. {
  8. return $this->factory->create($name);
  9. }
  10. }
  1. *
  2. * @return string
  3. */
  4. public static function getUrlContainerKey(): string
  5. {
  6. return CustomTagInterface::URL_CONTAINER_KEY;

    The CustomTagInterface class resolves to the BetaKiller\Content\CustomTag\CustomTagInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. }
  8. }
  1. {
  2. /**
  3. * @Inject
  4. * @var \BetaKiller\Repository\ContentCommentRepository
  5. */
  6. private $commentRepository;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\IFace\Admin\Content\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. /**
  8. * @return \BetaKiller\Model\ContentComment[]
  9. */
  10. protected function get_comments_list(): array
  1. {
  2. /**
  3. * @Inject
  4. * @var \BetaKiller\Helper\ContentUrlContainerHelper
  5. */
  6. private $urlParametersHelper;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\IFace\Admin\Content\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. /**
  8. * Returns data for View
  9. * Override this method in child classes
  10. */
  1. {
  2. /**
  3. * @Inject
  4. * @var \BetaKiller\Helper\ContentUrlContainerHelper
  5. */
  6. private $urlParametersHelper;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\IFace\Admin\Content\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. /**
  8. * @Inject
  9. * @var \BetaKiller\Repository\ContentCommentRepository
  10. */
  1. /**
  2. * @Inject
  3. * @var \BetaKiller\Repository\ContentCommentRepository
  4. */
  5. private $commentRepository;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\IFace\Admin\Content\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. /**
  7. * @return \BetaKiller\Model\ContentComment[]
  8. */
  9. protected function get_comments_list(): array
  1. {
  2. /**
  3. * @Inject
  4. * @var \BetaKiller\IFace\Url\UrlContainerInterface
  5. */
  6. private $urlParameters;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\IFace\Admin\Content\CustomTag\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. /**
  8. * @Inject
  9. * @var \BetaKiller\Helper\ResponseHelper
  10. */
  1. /**
  2. * @Inject
  3. * @var \BetaKiller\Helper\ResponseHelper
  4. */
  5. private $responseHelper;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\IFace\Admin\Content\CustomTag\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. /**
  7. * Returns data for View
  8. * Override this method in child classes
  9. *
  1. {
  2. /**
  3. * @var ContentHelper
  4. * @Inject
  5. */
  6. private $contentHelper;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\IFace\Admin\Content\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. /**
  8. * Returns data for View
  9. * Override this method in child classes
  10. *
  1. /**
  2. * @Inject
  3. * TODO move to constructor
  4. * @var \BetaKiller\Helper\AclHelper
  5. */
  6. private $aclHelper;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\IFace\Admin\Content\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. /**
  8. * @var \BetaKiller\Helper\AssetsHelper
  9. * @Inject
  10. */
  1. /**
  2. * @var \BetaKiller\Helper\AssetsHelper
  3. * @Inject
  4. */
  5. private $assetsHelper;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\IFace\Admin\Content\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. /**
  7. * @var \CustomTagFacade
  8. * @Inject
  9. */
  1. /**
  2. * @var \CustomTagFacade
  3. * @Inject
  4. */
  5. private $customTagFacade;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\IFace\Admin\Content\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. /**
  7. * PostItem constructor.
  8. *
  9. * @param \BetaKiller\Helper\ContentUrlContainerHelper $urlParametersHelper
  1. {
  2. /**
  3. * @Inject
  4. * @var \BetaKiller\Helper\ContentUrlContainerHelper
  5. */
  6. private $urlParametersHelper;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\IFace\App\Content\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. /**
  8. * Returns data for View
  9. * Override this method in child classes
  10. *
  1. {
  2. /**
  3. * @Inject
  4. * @var \BetaKiller\Repository\ContentCategoryRepository
  5. */
  6. private $categoryRepository;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\IFace\App\Content\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. /**
  8. * Returns data for View
  9. * Override this method in child classes
  10. *
  1. /**
  2. * @var \BetaKiller\Helper\AssetsHelper
  3. * @Inject
  4. */
  5. private $assetsHelper;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\IFace\App\Content\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. /**
  7. * PostItem constructor.
  8. *
  9. * @param \BetaKiller\Helper\ContentUrlContainerHelper $urlParametersHelper
  1. {
  2. /**
  3. * @Inject
  4. * @var \BetaKiller\Helper\UrlContainerHelper
  5. */
  6. private $urlParametersHelper;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\IFace\App\Content\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. /**
  8. * Returns data for View
  9. * Override this method in child classes
  10. *
  1. <?php
  2. namespace BetaKiller\Model;
  3. interface ContentAttachmentInterface extends WordpressAttachmentInterface, ContentElementInterface {}

    The WordpressAttachmentInterface class resolves to the BetaKiller\Model\WordpressAttachmentInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  1. <?php
  2. namespace BetaKiller\Model;
  3. interface ContentAttachmentInterface extends WordpressAttachmentInterface, ContentElementInterface {}

    The ContentElementInterface class resolves to the BetaKiller\Model\ContentElementInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  1. <?php
  2. namespace BetaKiller\Model;
  3. use BetaKiller\Assets\Model\AbstractAssetsOrmModel;
  4. class ContentAttachment extends AbstractAssetsOrmModel implements ContentAttachmentInterface

    The ContentAttachmentInterface class resolves to the BetaKiller\Model\ContentAttachmentInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. {
  6. use OrmBasedContentElementEntityTrait,
  7. OrmBasedEntityHasWordpressIdTrait,
  8. OrmBasedEntityHasWordpressPathTrait;
  1. use BetaKiller\Assets\Model\AbstractAssetsOrmModel;
  2. class ContentAttachment extends AbstractAssetsOrmModel implements ContentAttachmentInterface
  3. {
  4. use OrmBasedContentElementEntityTrait,

    The OrmBasedContentElementEntityTrait class resolves to the BetaKiller\Model\OrmBasedContentElementEntityTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. OrmBasedEntityHasWordpressIdTrait,
  6. OrmBasedEntityHasWordpressPathTrait;
  7. /**
  8. * Prepares the model database connection, determines the table name,
  1. use BetaKiller\Assets\Model\AbstractAssetsOrmModel;
  2. class ContentAttachment extends AbstractAssetsOrmModel implements ContentAttachmentInterface
  3. {
  4. use OrmBasedContentElementEntityTrait,

    The OrmBasedEntityHasWordpressIdTrait class resolves to the BetaKiller\Model\OrmBasedEntityHasWordpressIdTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. OrmBasedEntityHasWordpressIdTrait,
  6. OrmBasedEntityHasWordpressPathTrait;
  7. /**
  8. * Prepares the model database connection, determines the table name,
  1. use BetaKiller\Assets\Model\AbstractAssetsOrmModel;
  2. class ContentAttachment extends AbstractAssetsOrmModel implements ContentAttachmentInterface
  3. {
  4. use OrmBasedContentElementEntityTrait,

    The OrmBasedEntityHasWordpressPathTrait class resolves to the BetaKiller\Model\OrmBasedEntityHasWordpressPathTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. OrmBasedEntityHasWordpressIdTrait,
  6. OrmBasedEntityHasWordpressPathTrait;
  7. /**
  8. * Prepares the model database connection, determines the table name,
  1. /**
  2. * Interface ContentCategoryInterface
  3. *
  4. * @package BetaKiller\Content
  5. */
  6. interface ContentCategoryInterface extends DispatchableEntityInterface, SeoMetaInterface, EntityHasWordpressIdInterface, TreeModelSingleParentInterface

    The EntityHasWordpressIdInterface class resolves to the BetaKiller\Model\EntityHasWordpressIdInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. {
  8. /**
  9. * @param string $value
  10. */
  11. public function setUri(string $value): void;
  1. /**
  2. * Interface ContentCategoryInterface
  3. *
  4. * @package BetaKiller\Content
  5. */
  6. interface ContentCategoryInterface extends DispatchableEntityInterface, SeoMetaInterface, EntityHasWordpressIdInterface, TreeModelSingleParentInterface

    The DispatchableEntityInterface class resolves to the BetaKiller\Model\DispatchableEntityInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. {
  8. /**
  9. * @param string $value
  10. */
  11. public function setUri(string $value): void;
  1. namespace BetaKiller\Model;
  2. use BetaKiller\Utils\Kohana\TreeModelSingleParentOrm;
  3. use Kohana_Exception;
  4. class ContentCategory extends TreeModelSingleParentOrm implements ContentCategoryInterface

    The ContentCategoryInterface class resolves to the BetaKiller\Model\ContentCategoryInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. {
  6. use OrmBasedEntityHasWordpressIdTrait,
  7. OrmBasedSeoMetaTrait;
  8. protected function _initialize(): void
  1. use BetaKiller\Utils\Kohana\TreeModelSingleParentOrm;
  2. use Kohana_Exception;
  3. class ContentCategory extends TreeModelSingleParentOrm implements ContentCategoryInterface
  4. {
  5. use OrmBasedEntityHasWordpressIdTrait,

    The OrmBasedEntityHasWordpressIdTrait class resolves to the BetaKiller\Model\OrmBasedEntityHasWordpressIdTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. OrmBasedSeoMetaTrait;
  7. protected function _initialize(): void
  8. {
  9. $this->_table_name = 'content_categories';
  1. use BetaKiller\Utils\Kohana\TreeModelSingleParentOrm;
  2. use Kohana_Exception;
  3. class ContentCategory extends TreeModelSingleParentOrm implements ContentCategoryInterface
  4. {
  5. use OrmBasedEntityHasWordpressIdTrait,

    The OrmBasedSeoMetaTrait class resolves to the BetaKiller\Model\OrmBasedSeoMetaTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. OrmBasedSeoMetaTrait;
  7. protected function _initialize(): void
  8. {
  9. $this->_table_name = 'content_categories';
  1. use BetaKiller\Status\StatusRelatedModelInterface;
  2. use BetaKiller\Utils\Kohana\TreeModelSingleParentInterface;
  3. use DateTimeImmutable;
  4. use DateTimeInterface;
  5. interface ContentCommentInterface extends TreeModelSingleParentInterface, EntityModelRelatedInterface,

    The HasPublicReadUrlInterface class resolves to the BetaKiller\Model\HasPublicReadUrlInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. StatusRelatedModelInterface, EntityHasWordpressIdInterface, HasPublicReadUrlInterface, DispatchableEntityInterface
  7. {
  8. public function getRelatedContentLabel(): string;
  9. public function getHtmlDomID(): string;
  1. use BetaKiller\Status\StatusRelatedModelInterface;
  2. use BetaKiller\Utils\Kohana\TreeModelSingleParentInterface;
  3. use DateTimeImmutable;
  4. use DateTimeInterface;
  5. interface ContentCommentInterface extends TreeModelSingleParentInterface, EntityModelRelatedInterface,

    The EntityHasWordpressIdInterface class resolves to the BetaKiller\Model\EntityHasWordpressIdInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. StatusRelatedModelInterface, EntityHasWordpressIdInterface, HasPublicReadUrlInterface, DispatchableEntityInterface
  7. {
  8. public function getRelatedContentLabel(): string;
  9. public function getHtmlDomID(): string;
  1. use BetaKiller\Status\StatusRelatedModelInterface;
  2. use BetaKiller\Utils\Kohana\TreeModelSingleParentInterface;
  3. use DateTimeImmutable;
  4. use DateTimeInterface;
  5. interface ContentCommentInterface extends TreeModelSingleParentInterface, EntityModelRelatedInterface,

    The DispatchableEntityInterface class resolves to the BetaKiller\Model\DispatchableEntityInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. StatusRelatedModelInterface, EntityHasWordpressIdInterface, HasPublicReadUrlInterface, DispatchableEntityInterface
  7. {
  8. public function getRelatedContentLabel(): string;
  9. public function getHtmlDomID(): string;
  1. use BetaKiller\Status\StatusRelatedModelInterface;
  2. use BetaKiller\Utils\Kohana\TreeModelSingleParentInterface;
  3. use DateTimeImmutable;
  4. use DateTimeInterface;
  5. interface ContentCommentInterface extends TreeModelSingleParentInterface, EntityModelRelatedInterface,

    The EntityModelRelatedInterface class resolves to the BetaKiller\Model\EntityModelRelatedInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. StatusRelatedModelInterface, EntityHasWordpressIdInterface, HasPublicReadUrlInterface, DispatchableEntityInterface
  7. {
  8. public function getRelatedContentLabel(): string;
  9. public function getHtmlDomID(): string;
  1. /**
  2. * @return string
  3. */
  4. public function get_guest_author_name(): string;
  5. public function set_author_user(UserInterface $value = null);

    The UserInterface type hint resolves to the BetaKiller\Model\UserInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. /**
  7. * @return UserInterface|null
  8. */
  9. public function get_author_user(): ?UserInterface;
  1. public function set_author_user(UserInterface $value = null);
  2. /**
  3. * @return UserInterface|null
  4. */
  5. public function get_author_user(): ?UserInterface;

    The UserInterface class resolves to the BetaKiller\Model\UserInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. /**
  7. * @return bool
  8. */
  9. public function author_is_guest(): bool;
  1. use Exception;
  2. use Model_ContentCommentStatusTransition;
  3. use Status_Workflow_ContentComment;
  4. use Validation;
  5. class ContentComment extends TreeModelSingleParentOrm

    The ContentCommentInterface class resolves to the BetaKiller\Model\ContentCommentInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. implements ContentCommentInterface
  7. {
  8. use OrmBasedEntityRelatedModelTrait;
  9. use OrmBasedEntityHasWordpressIdTrait;
  10. use StatusRelatedModelOrmTrait;
  1. use Validation;
  2. class ContentComment extends TreeModelSingleParentOrm
  3. implements ContentCommentInterface
  4. {
  5. use OrmBasedEntityRelatedModelTrait;

    The OrmBasedEntityRelatedModelTrait class resolves to the BetaKiller\Model\OrmBasedEntityRelatedModelTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. use OrmBasedEntityHasWordpressIdTrait;
  7. use StatusRelatedModelOrmTrait;
  8. /**
  9. * Prepares the model database connection, determines the table name,
  1. class ContentComment extends TreeModelSingleParentOrm
  2. implements ContentCommentInterface
  3. {
  4. use OrmBasedEntityRelatedModelTrait;
  5. use OrmBasedEntityHasWordpressIdTrait;

    The OrmBasedEntityHasWordpressIdTrait class resolves to the BetaKiller\Model\OrmBasedEntityHasWordpressIdTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. use StatusRelatedModelOrmTrait;
  7. /**
  8. * Prepares the model database connection, determines the table name,
  9. * and loads column information.
  1. public function get_guest_author_name(): string
  2. {
  3. return $this->get('author_name');
  4. }
  5. public function set_author_user(UserInterface $value = null)

    The UserInterface type hint resolves to the BetaKiller\Model\UserInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. {
  7. $this->set('author', $value);
  8. return $this;
  9. }
  1. }
  2. /**
  3. * @return UserInterface|null
  4. */
  5. public function get_author_user(): ?UserInterface

    The UserInterface class resolves to the BetaKiller\Model\UserInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. {
  7. /** @var UserInterface $author */
  8. $author = $this->get('author');
  9. return $author->loaded() ? $author : null;
  1. <?php
  2. namespace BetaKiller\Model;
  3. interface ContentElementInterface extends EntityModelRelatedInterface {}

    The EntityModelRelatedInterface class resolves to the BetaKiller\Model\EntityModelRelatedInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  1. <?php
  2. namespace BetaKiller\Model;
  3. use BetaKiller\Assets\Model\AssetsModelImageInterface;
  4. interface ContentImageInterface extends WordpressAttachmentInterface, ContentElementInterface, AssetsModelImageInterface {}

    The WordpressAttachmentInterface class resolves to the BetaKiller\Model\WordpressAttachmentInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  1. <?php
  2. namespace BetaKiller\Model;
  3. use BetaKiller\Assets\Model\AssetsModelImageInterface;
  4. interface ContentImageInterface extends WordpressAttachmentInterface, ContentElementInterface, AssetsModelImageInterface {}

    The ContentElementInterface class resolves to the BetaKiller\Model\ContentElementInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  1. <?php
  2. namespace BetaKiller\Model;
  3. use BetaKiller\Assets\Model\AbstractAssetsOrmImageModel;
  4. class ContentImage extends AbstractAssetsOrmImageModel implements ContentImageInterface

    The ContentImageInterface class resolves to the BetaKiller\Model\ContentImageInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. {
  6. use OrmBasedContentElementEntityTrait,
  7. OrmBasedEntityHasWordpressIdTrait,
  8. OrmBasedEntityHasWordpressPathTrait;
  1. use BetaKiller\Assets\Model\AbstractAssetsOrmImageModel;
  2. class ContentImage extends AbstractAssetsOrmImageModel implements ContentImageInterface
  3. {
  4. use OrmBasedContentElementEntityTrait,

    The OrmBasedEntityHasWordpressIdTrait class resolves to the BetaKiller\Model\OrmBasedEntityHasWordpressIdTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. OrmBasedEntityHasWordpressIdTrait,
  6. OrmBasedEntityHasWordpressPathTrait;
  7. /**
  8. * Prepares the model database connection, determines the table name,
  1. use BetaKiller\Assets\Model\AbstractAssetsOrmImageModel;
  2. class ContentImage extends AbstractAssetsOrmImageModel implements ContentImageInterface
  3. {
  4. use OrmBasedContentElementEntityTrait,

    The OrmBasedEntityHasWordpressPathTrait class resolves to the BetaKiller\Model\OrmBasedEntityHasWordpressPathTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. OrmBasedEntityHasWordpressIdTrait,
  6. OrmBasedEntityHasWordpressPathTrait;
  7. /**
  8. * Prepares the model database connection, determines the table name,
  1. use BetaKiller\Assets\Model\AbstractAssetsOrmImageModel;
  2. class ContentImage extends AbstractAssetsOrmImageModel implements ContentImageInterface
  3. {
  4. use OrmBasedContentElementEntityTrait,

    The OrmBasedContentElementEntityTrait class resolves to the BetaKiller\Model\OrmBasedContentElementEntityTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. OrmBasedEntityHasWordpressIdTrait,
  6. OrmBasedEntityHasWordpressPathTrait;
  7. /**
  8. * Prepares the model database connection, determines the table name,
  1. use DateTime;
  2. use Kohana_Exception;
  3. use ORM;
  4. use Validation;
  5. class ContentPost extends \ORM implements StatusRelatedModelInterface, ModelWithRevisionsInterface, SeoMetaInterface, EntityHasWordpressIdInterface, HasPublicZoneAccessSpecificationInterface

    The ModelWithRevisionsInterface class resolves to the BetaKiller\Model\ModelWithRevisionsInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. {
  7. use StatusRelatedModelOrmTrait,
  8. ModelWithRevisionsOrmTrait,
  9. OrmBasedSeoMetaTrait,
  10. OrmBasedEntityHasWordpressIdTrait {
  1. use DateTime;
  2. use Kohana_Exception;
  3. use ORM;
  4. use Validation;
  5. class ContentPost extends \ORM implements StatusRelatedModelInterface, ModelWithRevisionsInterface, SeoMetaInterface, EntityHasWordpressIdInterface, HasPublicZoneAccessSpecificationInterface

    The EntityHasWordpressIdInterface class resolves to the BetaKiller\Model\EntityHasWordpressIdInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. {
  7. use StatusRelatedModelOrmTrait,
  8. ModelWithRevisionsOrmTrait,
  9. OrmBasedSeoMetaTrait,
  10. OrmBasedEntityHasWordpressIdTrait {
  1. use DateTime;
  2. use Kohana_Exception;
  3. use ORM;
  4. use Validation;
  5. class ContentPost extends \ORM implements StatusRelatedModelInterface, ModelWithRevisionsInterface, SeoMetaInterface, EntityHasWordpressIdInterface, HasPublicZoneAccessSpecificationInterface

    The HasPublicZoneAccessSpecificationInterface class resolves to the BetaKiller\Model\HasPublicZoneAccessSpecificationInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. {
  7. use StatusRelatedModelOrmTrait,
  8. ModelWithRevisionsOrmTrait,
  9. OrmBasedSeoMetaTrait,
  10. OrmBasedEntityHasWordpressIdTrait {
  1. use ORM;
  2. use Validation;
  3. class ContentPost extends \ORM implements StatusRelatedModelInterface, ModelWithRevisionsInterface, SeoMetaInterface, EntityHasWordpressIdInterface, HasPublicZoneAccessSpecificationInterface
  4. {
  5. use StatusRelatedModelOrmTrait,

    The ModelWithRevisionsOrmTrait class resolves to the BetaKiller\Model\ModelWithRevisionsOrmTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. ModelWithRevisionsOrmTrait,
  7. OrmBasedSeoMetaTrait,
  8. OrmBasedEntityHasWordpressIdTrait {
  9. StatusRelatedModelOrmTrait::workflow as private baseWorkflow;
  10. }
  1. use ORM;
  2. use Validation;
  3. class ContentPost extends \ORM implements StatusRelatedModelInterface, ModelWithRevisionsInterface, SeoMetaInterface, EntityHasWordpressIdInterface, HasPublicZoneAccessSpecificationInterface
  4. {
  5. use StatusRelatedModelOrmTrait,

    The OrmBasedEntityHasWordpressIdTrait class resolves to the BetaKiller\Model\OrmBasedEntityHasWordpressIdTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. ModelWithRevisionsOrmTrait,
  7. OrmBasedSeoMetaTrait,
  8. OrmBasedEntityHasWordpressIdTrait {
  9. StatusRelatedModelOrmTrait::workflow as private baseWorkflow;
  10. }
  1. use ORM;
  2. use Validation;
  3. class ContentPost extends \ORM implements StatusRelatedModelInterface, ModelWithRevisionsInterface, SeoMetaInterface, EntityHasWordpressIdInterface, HasPublicZoneAccessSpecificationInterface
  4. {
  5. use StatusRelatedModelOrmTrait,

    The OrmBasedSeoMetaTrait class resolves to the BetaKiller\Model\OrmBasedSeoMetaTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. ModelWithRevisionsOrmTrait,
  7. OrmBasedSeoMetaTrait,
  8. OrmBasedEntityHasWordpressIdTrait {
  9. StatusRelatedModelOrmTrait::workflow as private baseWorkflow;
  10. }
  1. /**
  2. * @param \BetaKiller\Model\UserInterface $user
  3. *
  4. * @return $this
  5. */
  6. public function setCreatedBy(UserInterface $user)

    The UserInterface type hint resolves to the BetaKiller\Model\UserInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. {
  8. return $this->set('created_by', $user);
  9. }
  10. /**
  1. }
  2. /**
  3. * @return UserInterface
  4. */
  5. public function getCreatedBy(): UserInterface

    The UserInterface class resolves to the BetaKiller\Model\UserInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. {
  7. return $this->get('created_by');
  8. }
  9. /**
  1. }
  2. /**
  3. * @return \BetaKiller\Model\ContentPostThumbnailInterface
  4. */
  5. public function getFirstThumbnail(): ContentPostThumbnailInterface

    The ContentPostThumbnailInterface class resolves to the BetaKiller\Model\ContentPostThumbnailInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. {
  7. return $this->getThumbnailsQuery()->limit(1)->find();
  8. }
  9. /**
  1. <?php
  2. namespace BetaKiller\Model;
  3. use BetaKiller\Assets\Model\AssetsModelImageInterface;
  4. interface ContentPostThumbnailInterface extends WordpressAttachmentInterface, AssetsModelImageInterface

    The WordpressAttachmentInterface class resolves to the BetaKiller\Model\WordpressAttachmentInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. {
  6. /**
  7. * @return \BetaKiller\Model\ContentPost
  8. */
  9. public function getPost(): ContentPost;
  1. namespace BetaKiller\Model;
  2. use BetaKiller\Assets\Model\AbstractAssetsOrmImageModel;
  3. class ContentPostThumbnail extends AbstractAssetsOrmImageModel implements ContentPostThumbnailInterface

    The ContentPostThumbnailInterface class resolves to the BetaKiller\Model\ContentPostThumbnailInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  4. {
  5. use OrmBasedEntityHasWordpressIdTrait,
  6. OrmBasedEntityHasWordpressPathTrait;
  7. protected function _initialize(): void
  1. use BetaKiller\Assets\Model\AbstractAssetsOrmImageModel;
  2. class ContentPostThumbnail extends AbstractAssetsOrmImageModel implements ContentPostThumbnailInterface
  3. {
  4. use OrmBasedEntityHasWordpressIdTrait,

    The OrmBasedEntityHasWordpressPathTrait class resolves to the BetaKiller\Model\OrmBasedEntityHasWordpressPathTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. OrmBasedEntityHasWordpressPathTrait;
  6. protected function _initialize(): void
  7. {
  8. $this->_table_name = 'content_post_thumbnails';
  1. use BetaKiller\Assets\Model\AbstractAssetsOrmImageModel;
  2. class ContentPostThumbnail extends AbstractAssetsOrmImageModel implements ContentPostThumbnailInterface
  3. {
  4. use OrmBasedEntityHasWordpressIdTrait,

    The OrmBasedEntityHasWordpressIdTrait class resolves to the BetaKiller\Model\OrmBasedEntityHasWordpressIdTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. OrmBasedEntityHasWordpressPathTrait;
  6. protected function _initialize(): void
  7. {
  8. $this->_table_name = 'content_post_thumbnails';
  1. namespace BetaKiller\Model;
  2. use Kohana_Exception;
  3. use ORM;
  4. class ContentYoutubeRecord extends ORM implements ContentElementInterface

    The ContentElementInterface class resolves to the BetaKiller\Model\ContentElementInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. {
  6. use OrmBasedContentElementEntityTrait;
  7. /**
  8. * Prepares the model database connection, determines the table name,
  1. use Kohana_Exception;
  2. use ORM;
  3. class ContentYoutubeRecord extends ORM implements ContentElementInterface
  4. {
  5. use OrmBasedContentElementEntityTrait;

    The OrmBasedContentElementEntityTrait class resolves to the BetaKiller\Model\OrmBasedContentElementEntityTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. /**
  7. * Prepares the model database connection, determines the table name,
  8. * and loads column information.
  9. *
  1. /**
  2. * Returns User model, who uploaded the file
  3. *
  4. * @return UserInterface
  5. */
  6. public function getUploadedBy(): UserInterface

    The UserInterface class resolves to the BetaKiller\Model\UserInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. {
  8. return $this->get('uploaded_by_user');
  9. }
  10. /**
  1. *
  2. * @param UserInterface $user
  3. *
  4. * @return \BetaKiller\Model\ContentYoutubeRecord
  5. */
  6. public function setUploadedBy(UserInterface $user): ContentYoutubeRecord

    The UserInterface type hint resolves to the BetaKiller\Model\UserInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. {
  8. return $this->set('uploaded_by_user', $user);
  9. }
  10. }
  1. <?php
  2. namespace BetaKiller\Model;
  3. use ORM;
  4. interface EntityHasWordpressPathInterface extends AbstractEntityInterface

    The AbstractEntityInterface class resolves to the BetaKiller\Model\AbstractEntityInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. {
  6. /**
  7. * @param string $value
  8. * @return $this|ORM
  9. */
  1. *
  2. * @package BetaKiller\Content
  3. */
  4. trait OrmBasedContentElementEntityTrait
  5. {
  6. use OrmBasedEntityRelatedModelTrait;

    The OrmBasedEntityRelatedModelTrait class resolves to the BetaKiller\Model\OrmBasedEntityRelatedModelTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. }
  1. use DateTimeImmutable;
  2. use DateTimeInterface;
  3. use ORM;
  4. interface QuoteInterface extends EntityHasWordpressIdInterface

    The EntityHasWordpressIdInterface class resolves to the BetaKiller\Model\EntityHasWordpressIdInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. {
  6. /**
  7. * @param string $value
  8. *
  9. * @return $this
  1. use DateTimeImmutable;
  2. use DateTimeInterface;
  3. use ORM;
  4. class Quote extends ORM implements QuoteInterface

    The QuoteInterface class resolves to the BetaKiller\Model\QuoteInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  5. {
  6. use OrmBasedEntityHasWordpressIdTrait;
  7. /**
  8. * @param string $value
  1. use DateTimeInterface;
  2. use ORM;
  3. class Quote extends ORM implements QuoteInterface
  4. {
  5. use OrmBasedEntityHasWordpressIdTrait;

    The OrmBasedEntityHasWordpressIdTrait class resolves to the BetaKiller\Model\OrmBasedEntityHasWordpressIdTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. /**
  7. * @param string $value
  8. *
  9. * @return $this
  1. * Interface WordpressAttachmentInterface
  2. * Base interface for all attachments imported from WP
  3. *
  4. * @package BetaKiller\Model
  5. */
  6. interface WordpressAttachmentInterface extends AssetsModelInterface, EntityHasWordpressIdInterface, EntityHasWordpressPathInterface {}

    The EntityHasWordpressPathInterface class resolves to the BetaKiller\Model\EntityHasWordpressPathInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  1. * Interface WordpressAttachmentInterface
  2. * Base interface for all attachments imported from WP
  3. *
  4. * @package BetaKiller\Model
  5. */
  6. interface WordpressAttachmentInterface extends AssetsModelInterface, EntityHasWordpressIdInterface, EntityHasWordpressPathInterface {}

    The EntityHasWordpressIdInterface class resolves to the BetaKiller\Model\EntityHasWordpressIdInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  1. * @method ContentAttachmentInterface|null findById(int $id)
  2. * @method ContentAttachmentInterface|null findByWpId(int $id)
  3. * @method ContentAttachmentInterface create()
  4. * @method ContentAttachmentInterface[] getAll()
  5. */
  6. class ContentAttachmentRepository extends AbstractHashStrategyOrmBasedAssetsRepository implements WordpressAttachmentRepositoryInterface

    The WordpressAttachmentRepositoryInterface class resolves to the BetaKiller\Repository\WordpressAttachmentRepositoryInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. {
  8. use OrmBasedRepositoryHasWordpressIdTrait;
  9. use OrmBasedRepositoryHasWordpressPathTrait;
  10. }
  1. * @method ContentAttachmentInterface create()
  2. * @method ContentAttachmentInterface[] getAll()
  3. */
  4. class ContentAttachmentRepository extends AbstractHashStrategyOrmBasedAssetsRepository implements WordpressAttachmentRepositoryInterface
  5. {
  6. use OrmBasedRepositoryHasWordpressIdTrait;

    The OrmBasedRepositoryHasWordpressIdTrait class resolves to the BetaKiller\Repository\OrmBasedRepositoryHasWordpressIdTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. use OrmBasedRepositoryHasWordpressPathTrait;
  8. }
  1. * @method ContentAttachmentInterface[] getAll()
  2. */
  3. class ContentAttachmentRepository extends AbstractHashStrategyOrmBasedAssetsRepository implements WordpressAttachmentRepositoryInterface
  4. {
  5. use OrmBasedRepositoryHasWordpressIdTrait;
  6. use OrmBasedRepositoryHasWordpressPathTrait;

    The OrmBasedRepositoryHasWordpressPathTrait class resolves to the BetaKiller\Repository\OrmBasedRepositoryHasWordpressPathTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. }
  1. * @method ContentCategoryInterface|null findById(int $id)
  2. * @method ContentCategoryInterface|null findByWpID(int $id)
  3. * @method ContentCategoryInterface create()
  4. * @method ContentCategoryInterface[] getAll()
  5. */
  6. class ContentCategoryRepository extends AbstractOrmBasedDispatchableRepository implements

    The RepositoryHasWordpressIdInterface class resolves to the BetaKiller\Repository\RepositoryHasWordpressIdInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. RepositoryHasWordpressIdInterface
  8. {
  9. use OrmBasedRepositoryHasWordpressIdTrait;
  10. /**
  1. * @method ContentCategoryInterface[] getAll()
  2. */
  3. class ContentCategoryRepository extends AbstractOrmBasedDispatchableRepository implements
  4. RepositoryHasWordpressIdInterface
  5. {
  6. use OrmBasedRepositoryHasWordpressIdTrait;

    The OrmBasedRepositoryHasWordpressIdTrait class resolves to the BetaKiller\Repository\OrmBasedRepositoryHasWordpressIdTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. /**
  8. * @return string
  9. */
  10. public function getUrlKeyName(): string
  1. * @method ContentCommentInterface|null findById(int $id)
  2. * @method ContentCommentInterface|null findByWpID(int $id)
  3. * @method ContentCommentInterface create()
  4. * @method ContentCommentInterface[] getAll()
  5. */
  6. class ContentCommentRepository extends AbstractOrmBasedDispatchableRepository

    The EntityModelRelatedRepositoryInterface class resolves to the BetaKiller\Repository\EntityModelRelatedRepositoryInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. implements EntityModelRelatedRepositoryInterface, RepositoryHasWordpressIdInterface
  8. {
  9. use OrmBasedRepositoryHasWordpressIdTrait;
  10. use OrmBasedEntityRelatedRepositoryTrait;
  1. * @method ContentCommentInterface|null findById(int $id)
  2. * @method ContentCommentInterface|null findByWpID(int $id)
  3. * @method ContentCommentInterface create()
  4. * @method ContentCommentInterface[] getAll()
  5. */
  6. class ContentCommentRepository extends AbstractOrmBasedDispatchableRepository

    The RepositoryHasWordpressIdInterface class resolves to the BetaKiller\Repository\RepositoryHasWordpressIdInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. implements EntityModelRelatedRepositoryInterface, RepositoryHasWordpressIdInterface
  8. {
  9. use OrmBasedRepositoryHasWordpressIdTrait;
  10. use OrmBasedEntityRelatedRepositoryTrait;
  1. * @method ContentCommentInterface[] getAll()
  2. */
  3. class ContentCommentRepository extends AbstractOrmBasedDispatchableRepository
  4. implements EntityModelRelatedRepositoryInterface, RepositoryHasWordpressIdInterface
  5. {
  6. use OrmBasedRepositoryHasWordpressIdTrait;

    The OrmBasedRepositoryHasWordpressIdTrait class resolves to the BetaKiller\Repository\OrmBasedRepositoryHasWordpressIdTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. use OrmBasedEntityRelatedRepositoryTrait;
  8. /**
  9. * @Inject
  10. * @var \BetaKiller\Repository\ContentCommentStatusRepository
  1. */
  2. class ContentCommentRepository extends AbstractOrmBasedDispatchableRepository
  3. implements EntityModelRelatedRepositoryInterface, RepositoryHasWordpressIdInterface
  4. {
  5. use OrmBasedRepositoryHasWordpressIdTrait;
  6. use OrmBasedEntityRelatedRepositoryTrait;

    The OrmBasedEntityRelatedRepositoryTrait class resolves to the BetaKiller\Repository\OrmBasedEntityRelatedRepositoryTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. /**
  8. * @Inject
  9. * @var \BetaKiller\Repository\ContentCommentStatusRepository
  10. */
  1. /**
  2. * @Inject
  3. * @var \BetaKiller\Repository\ContentCommentStatusRepository
  4. */
  5. private $commentStatusRepository;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\Repository\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. /**
  7. * @return string
  8. * @throws \BetaKiller\Repository\RepositoryException
  9. */
  1. <?php
  2. namespace BetaKiller\Repository;
  3. interface ContentElementRepositoryInterface extends EntityModelRelatedRepositoryInterface {}

    The EntityModelRelatedRepositoryInterface class resolves to the BetaKiller\Repository\EntityModelRelatedRepositoryInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  1. *
  2. * @package BetaKiller\Content
  3. * @method ContentImageInterface findById(int $id)
  4. * @method ContentImageInterface create()
  5. */
  6. class ContentImageRepository extends AbstractHashStrategyOrmBasedAssetsRepository implements WordpressAttachmentRepositoryInterface

    The WordpressAttachmentRepositoryInterface class resolves to the BetaKiller\Repository\WordpressAttachmentRepositoryInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. {
  8. use OrmBasedContentElementRepositoryTrait;
  9. use OrmBasedRepositoryHasWordpressIdTrait;
  10. use OrmBasedRepositoryHasWordpressPathTrait;
  11. }
  1. * @method ContentImageInterface findById(int $id)
  2. * @method ContentImageInterface create()
  3. */
  4. class ContentImageRepository extends AbstractHashStrategyOrmBasedAssetsRepository implements WordpressAttachmentRepositoryInterface
  5. {
  6. use OrmBasedContentElementRepositoryTrait;

    The OrmBasedContentElementRepositoryTrait class resolves to the BetaKiller\Repository\OrmBasedContentElementRepositoryTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. use OrmBasedRepositoryHasWordpressIdTrait;
  8. use OrmBasedRepositoryHasWordpressPathTrait;
  9. }
  1. * @method ContentImageInterface create()
  2. */
  3. class ContentImageRepository extends AbstractHashStrategyOrmBasedAssetsRepository implements WordpressAttachmentRepositoryInterface
  4. {
  5. use OrmBasedContentElementRepositoryTrait;
  6. use OrmBasedRepositoryHasWordpressIdTrait;

    The OrmBasedRepositoryHasWordpressIdTrait class resolves to the BetaKiller\Repository\OrmBasedRepositoryHasWordpressIdTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. use OrmBasedRepositoryHasWordpressPathTrait;
  8. }
  1. */
  2. class ContentImageRepository extends AbstractHashStrategyOrmBasedAssetsRepository implements WordpressAttachmentRepositoryInterface
  3. {
  4. use OrmBasedContentElementRepositoryTrait;
  5. use OrmBasedRepositoryHasWordpressIdTrait;
  6. use OrmBasedRepositoryHasWordpressPathTrait;

    The OrmBasedRepositoryHasWordpressPathTrait class resolves to the BetaKiller\Repository\OrmBasedRepositoryHasWordpressPathTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. }
  1. * @method ContentPost|null findById(int $id)
  2. * @method ContentPost|null findByWpID(int $id)
  3. * @method ContentPost create()
  4. * @method ContentPost[] getAll()
  5. */
  6. class ContentPostRepository extends AbstractOrmBasedDispatchableRepository implements RepositoryHasWordpressIdInterface

    The RepositoryHasWordpressIdInterface class resolves to the BetaKiller\Repository\RepositoryHasWordpressIdInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. {
  8. use OrmBasedRepositoryHasWordpressIdTrait;
  9. /**
  10. * @return string
  1. * @method ContentPost create()
  2. * @method ContentPost[] getAll()
  3. */
  4. class ContentPostRepository extends AbstractOrmBasedDispatchableRepository implements RepositoryHasWordpressIdInterface
  5. {
  6. use OrmBasedRepositoryHasWordpressIdTrait;

    The OrmBasedRepositoryHasWordpressIdTrait class resolves to the BetaKiller\Repository\OrmBasedRepositoryHasWordpressIdTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. /**
  8. * @return string
  9. */
  10. public function getUrlKeyName(): string
  1. * @method ContentPostThumbnailInterface create()
  2. * @method ContentPostThumbnailInterface|null findById(int $id)
  3. * @method ContentPostThumbnailInterface|null findByWpId(int $id)
  4. * @method ContentPostThumbnailInterface[] getAll()
  5. */
  6. class ContentPostThumbnailRepository extends AbstractHashStrategyOrmBasedAssetsRepository implements

    The WordpressAttachmentRepositoryInterface class resolves to the BetaKiller\Repository\WordpressAttachmentRepositoryInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. WordpressAttachmentRepositoryInterface, EntityModelRelatedRepositoryInterface
  8. {
  9. use OrmBasedRepositoryHasWordpressIdTrait;
  10. use OrmBasedRepositoryHasWordpressPathTrait;
  11. use OrmBasedEntityRelatedRepositoryTrait;
  1. * @method ContentPostThumbnailInterface create()
  2. * @method ContentPostThumbnailInterface|null findById(int $id)
  3. * @method ContentPostThumbnailInterface|null findByWpId(int $id)
  4. * @method ContentPostThumbnailInterface[] getAll()
  5. */
  6. class ContentPostThumbnailRepository extends AbstractHashStrategyOrmBasedAssetsRepository implements

    The EntityModelRelatedRepositoryInterface class resolves to the BetaKiller\Repository\EntityModelRelatedRepositoryInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. WordpressAttachmentRepositoryInterface, EntityModelRelatedRepositoryInterface
  8. {
  9. use OrmBasedRepositoryHasWordpressIdTrait;
  10. use OrmBasedRepositoryHasWordpressPathTrait;
  11. use OrmBasedEntityRelatedRepositoryTrait;
  1. * @method ContentPostThumbnailInterface[] getAll()
  2. */
  3. class ContentPostThumbnailRepository extends AbstractHashStrategyOrmBasedAssetsRepository implements
  4. WordpressAttachmentRepositoryInterface, EntityModelRelatedRepositoryInterface
  5. {
  6. use OrmBasedRepositoryHasWordpressIdTrait;

    The OrmBasedRepositoryHasWordpressIdTrait class resolves to the BetaKiller\Repository\OrmBasedRepositoryHasWordpressIdTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. use OrmBasedRepositoryHasWordpressPathTrait;
  8. use OrmBasedEntityRelatedRepositoryTrait;
  9. }
  1. */
  2. class ContentPostThumbnailRepository extends AbstractHashStrategyOrmBasedAssetsRepository implements
  3. WordpressAttachmentRepositoryInterface, EntityModelRelatedRepositoryInterface
  4. {
  5. use OrmBasedRepositoryHasWordpressIdTrait;
  6. use OrmBasedRepositoryHasWordpressPathTrait;

    The OrmBasedRepositoryHasWordpressPathTrait class resolves to the BetaKiller\Repository\OrmBasedRepositoryHasWordpressPathTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. use OrmBasedEntityRelatedRepositoryTrait;
  8. }
  1. class ContentPostThumbnailRepository extends AbstractHashStrategyOrmBasedAssetsRepository implements
  2. WordpressAttachmentRepositoryInterface, EntityModelRelatedRepositoryInterface
  3. {
  4. use OrmBasedRepositoryHasWordpressIdTrait;
  5. use OrmBasedRepositoryHasWordpressPathTrait;
  6. use OrmBasedEntityRelatedRepositoryTrait;

    The OrmBasedEntityRelatedRepositoryTrait class resolves to the BetaKiller\Repository\OrmBasedEntityRelatedRepositoryTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. }
  1. * @package BetaKiller\Content
  2. * @method ContentYoutubeRecord findById(int $id)
  3. * @method ContentYoutubeRecord create()
  4. * @method ContentYoutubeRecord[] getAll()
  5. */
  6. class ContentYoutubeRecordRepository extends AbstractOrmBasedRepository implements ContentElementRepositoryInterface

    The ContentElementRepositoryInterface class resolves to the BetaKiller\Repository\ContentElementRepositoryInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. {
  8. use OrmBasedContentElementRepositoryTrait;
  9. public function findRecordByYoutubeEmbedUrl(string $url): ?ContentYoutubeRecord
  10. {
  1. * @method ContentYoutubeRecord create()
  2. * @method ContentYoutubeRecord[] getAll()
  3. */
  4. class ContentYoutubeRecordRepository extends AbstractOrmBasedRepository implements ContentElementRepositoryInterface
  5. {
  6. use OrmBasedContentElementRepositoryTrait;

    The OrmBasedContentElementRepositoryTrait class resolves to the BetaKiller\Repository\OrmBasedContentElementRepositoryTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. public function findRecordByYoutubeEmbedUrl(string $url): ?ContentYoutubeRecord
  8. {
  9. $id = $this->getYoutubeIdFromEmbedUrl($url);
  10. return $this->findByYoutubeID($id);
  1. <?php
  2. namespace BetaKiller\Repository;
  3. trait OrmBasedContentElementRepositoryTrait
  4. {
  5. use OrmBasedEntityRelatedRepositoryTrait;

    The OrmBasedEntityRelatedRepositoryTrait class resolves to the BetaKiller\Repository\OrmBasedEntityRelatedRepositoryTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. }
  1. * @method QuoteInterface findById(int $id)
  2. * @method QuoteInterface findByWpId(int $id)
  3. * @method QuoteInterface create()
  4. * @method QuoteInterface[] getAll()
  5. */
  6. class QuoteRepository extends AbstractOrmBasedRepository implements RepositoryHasWordpressIdInterface

    The RepositoryHasWordpressIdInterface class resolves to the BetaKiller\Repository\RepositoryHasWordpressIdInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. {
  8. use OrmBasedRepositoryHasWordpressIdTrait;
  9. /**
  10. * @param \DateTimeInterface|null $before
  1. * @method QuoteInterface create()
  2. * @method QuoteInterface[] getAll()
  3. */
  4. class QuoteRepository extends AbstractOrmBasedRepository implements RepositoryHasWordpressIdInterface
  5. {
  6. use OrmBasedRepositoryHasWordpressIdTrait;

    The OrmBasedRepositoryHasWordpressIdTrait class resolves to the BetaKiller\Repository\OrmBasedRepositoryHasWordpressIdTrait class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. /**
  8. * @param \DateTimeInterface|null $before
  9. *
  10. * @return \BetaKiller\Model\QuoteInterface|mixed
  1. /**
  2. * Interface WordpressAttachmentRepositoryInterface
  3. *
  4. * @package BetaKiller\Content
  5. */
  6. interface WordpressAttachmentRepositoryInterface

    The RepositoryHasWordpressPathInterface class resolves to the BetaKiller\Repository\RepositoryHasWordpressPathInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. extends RepositoryHasWordpressIdInterface, RepositoryHasWordpressPathInterface
  8. {
  9. }
  1. /**
  2. * Interface WordpressAttachmentRepositoryInterface
  3. *
  4. * @package BetaKiller\Content
  5. */
  6. interface WordpressAttachmentRepositoryInterface

    The RepositoryHasWordpressIdInterface class resolves to the BetaKiller\Repository\RepositoryHasWordpressIdInterface class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  7. extends RepositoryHasWordpressIdInterface, RepositoryHasWordpressPathInterface
  8. {
  9. }
  1. /**
  2. * @Inject
  3. * @var \BetaKiller\Model\UserInterface
  4. */
  5. private $user;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\IFace\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Spotman
  6. /**
  7. * Returns data for View
  8. * Override this method in child classes
  9. *
  1. {
  2. /**
  3. * @Inject
  4. * @var \BetaKiller\Repository\PhpExceptionRepository
  5. */
  6. protected $repository;

    The @Inject annotation looks like a class annotation which resolves to the BetaKiller\IFace\Admin\Error\Inject class which PHP does not seem to be able to autoload.

    Time to fix: about 15 minutes