repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/src/Command/Annotate/CallbacksCommand.php | src/Command/Annotate/CallbacksCommand.php | <?php
namespace IdeHelper\Command\Annotate;
use Cake\Console\Arguments;
use Cake\Console\ConsoleIo;
use Cake\Console\ConsoleOptionParser;
use Cake\Core\Configure;
use IdeHelper\Annotator\CallbackAnnotator;
use IdeHelper\Command\AnnotateCommand;
class CallbacksCommand extends AnnotateCommand {
/**
* @return strin... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/src/Command/Annotate/HelpersCommand.php | src/Command/Annotate/HelpersCommand.php | <?php
namespace IdeHelper\Command\Annotate;
use Cake\Console\Arguments;
use Cake\Console\ConsoleIo;
use IdeHelper\Annotator\HelperAnnotator;
use IdeHelper\Command\AnnotateCommand;
class HelpersCommand extends AnnotateCommand {
/**
* @return string
*/
public static function getDescription(): string {
return ... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/src/View/Helper/DocBlockHelper.php | src/View/Helper/DocBlockHelper.php | <?php
namespace IdeHelper\View\Helper;
use Bake\View\Helper\DocBlockHelper as BakeDocBlockHelper;
use Cake\Core\App;
use Cake\Core\Configure;
use Cake\ORM\Association;
use Cake\Utility\Inflector;
use IdeHelper\Utility\GenericString;
class DocBlockHelper extends BakeDocBlockHelper {
/**
* @var array<string, bool>... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/schema.php | tests/schema.php | <?php
use Cake\Utility\Inflector;
$tables = [];
/**
* @var \DirectoryIterator<\DirectoryIterator> $iterator
*/
$iterator = new DirectoryIterator(__DIR__ . DS . 'Fixture');
foreach ($iterator as $file) {
if (!preg_match('/(\w+)Fixture.php$/', (string)$file, $matches)) {
continue;
}
$name = $matches[1];
$tabl... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/shim.php | tests/shim.php | <?php
use PHP_CodeSniffer\Config;
use PHPUnit\Framework\TestCase;
$manualAutoload = getcwd() . '/vendor/squizlabs/php_codesniffer/autoload.php';
if (!class_exists(Config::class) && file_exists($manualAutoload)) {
require $manualAutoload;
}
error_reporting(E_ALL & ~E_USER_DEPRECATED);
if (!defined('T_NULLABLE')) {
... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/bootstrap.php | tests/bootstrap.php | <?php
use Cake\Cache\Cache;
use Cake\Controller\Controller;
use Cake\Core\Configure;
use Cake\Database\TypeFactory;
use Cake\Datasource\ConnectionManager;
use Cake\TestSuite\Fixture\SchemaLoader;
if (!defined('DS')) {
define('DS', DIRECTORY_SEPARATOR);
}
define('PLUGIN_ROOT', dirname(__DIR__));
define('APP_DIR', 's... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Entity/Foo.php | tests/test_files/Model/Entity/Foo.php | <?php
namespace TestApp\Model\Entity;
use Cake\ORM\Entity;
/**
* @property array|null $params
* @property int $id
* @property \Cake\I18n\DateTime $created
* @property string $name
* @property string $content
* @property \Cake\I18n\Date $offer_date
* @property \Cake\I18n\DateTime|null $modified
*/
class Foo ex... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Entity/Car.php | tests/test_files/Model/Entity/Car.php | <?php
namespace TestApp\Model\Entity;
use Cake\ORM\Entity;
/**
* My car entity which is very cool.
*
* @property int $id
* @property string $name
* @property string $content
* @property \Cake\I18n\DateTime $created
* @property \Cake\I18n\DateTime|null $modified
* @property \TestApp\Model\Enum\CarStatus $statu... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Entity/Virtual.php | tests/test_files/Model/Entity/Virtual.php | <?php
namespace TestApp\Model\Entity;
use Cake\ORM\Entity;
/**
* @property-read bool $virtual_read_only This should be kept.
* @property array|null $params
* @property int $id
* @property string $name
* @property string $content
* @property \Cake\I18n\Date $offer_date
* @property \Cake\I18n\DateTime $created
... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Entity/Wheel.php | tests/test_files/Model/Entity/Wheel.php | <?php
namespace TestApp\Model\Entity;
use Cake\ORM\Entity;
/**
* @property array|null $params
* @property int $id
* @property string $name
* @property string $content
* @property \Cake\I18n\Date $offer_date
* @property \Cake\I18n\DateTime $created
* @property \Cake\I18n\DateTime|null $modified
* @property \Te... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Entity/Relations/Foo.php | tests/test_files/Model/Entity/Relations/Foo.php | <?php
namespace Relations\Model\Entity;
use Cake\ORM\Entity;
/**
* @property array|null $params
* @property int $id
* @property string $name
* @property int $user_id
* @property \Relations\Model\Entity\User $user
*/
class Foo extends Entity {
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Entity/Relations/Bar.php | tests/test_files/Model/Entity/Relations/Bar.php | <?php
namespace Relations\Model\Entity;
use Cake\ORM\Entity;
/**
* @property int $id
* @property string $name
* @property int|null $user_id
* @property \Relations\Model\Entity\User|null $user
*/
class Bar extends Entity {
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Entity/Relations/User.php | tests/test_files/Model/Entity/Relations/User.php | <?php
namespace Relations\Model\Entity;
use Cake\ORM\Entity;
/**
* @property int $id
* @property string $name
* @property \Relations\Model\Entity\Foo|null $foo
* @property \Relations\Model\Entity\Bar|null $bar
*/
class User extends Entity {
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Entity/ConstantsPartial/Wheel.php | tests/test_files/Model/Entity/ConstantsPartial/Wheel.php | <?php
namespace TestApp\Model\Entity;
use Cake\ORM\Entity;
/**
* @property int $id
* @property string $name
* @property string $content
* @property \Cake\I18n\DateTime $created
* @property \Cake\I18n\DateTime|null $modified
* @property-read string|null $virtual_one
* @property mixed $virtual_two
* @property \... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Entity/PHP7/Virtual.php | tests/test_files/Model/Entity/PHP7/Virtual.php | <?php
namespace TestApp\Model\Entity\PHP7;
use Cake\ORM\Entity;
/**
* @property array|null $params
* @property int $id
* @property string $name
* @property string $content
* @property \Cake\I18n\Date $offer_date
* @property \Cake\I18n\DateTime $created
* @property \Cake\I18n\DateTime|null $modified
* @propert... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Entity/Complex/Wheel.php | tests/test_files/Model/Entity/Complex/Wheel.php | <?php
namespace TestApp\Model\Entity;
use Cake\ORM\Entity;
/**
* @property array{user?: int, account?: int|string, newContacts?: array<mixed>}|null $params !
* @property int $id
* @property string $name
* @property string $content
* @property \Cake\I18n\DateTime $created
*
* @property-read string|null $virtual... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Entity/ConstantsPartialResult/Wheel.php | tests/test_files/Model/Entity/ConstantsPartialResult/Wheel.php | <?php
namespace TestApp\Model\Entity;
use Cake\ORM\Entity;
/**
* @property int $id
* @property string $name
* @property string $content
* @property \Cake\I18n\DateTime $created
* @property \Cake\I18n\DateTime|null $modified
* @property-read string|null $virtual_one
* @property mixed $virtual_two
* @property \... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Entity/Constants/WheelComplex.php | tests/test_files/Model/Entity/Constants/WheelComplex.php | <?php
namespace TestApp\Model\Entity;
use Cake\ORM\Entity;
/**
* @property array{utm_tags: array<mixed>|null}|null $params !
* @property int $id
* @property string $name
* @property string $content
* @property \Cake\I18n\Date $offer_date
* @property \Cake\I18n\DateTime $created
* @property \Cake\I18n\DateTime|... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Entity/Constants/Wheel.php | tests/test_files/Model/Entity/Constants/Wheel.php | <?php
namespace TestApp\Model\Entity;
use Cake\ORM\Entity;
/**
* @property array{user?: int, account?: int|string, newContacts?: array<mixed>}|null $params !
* @property int $id
* @property string $name
* @property string $content
* @property \Cake\I18n\Date $offer_date
* @property \Cake\I18n\DateTime $created
... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Entity/PHP/Generics.php | tests/test_files/Model/Entity/PHP/Generics.php | <?php
namespace TestApp\Model\Entity\PHP;
use Cake\ORM\Entity;
/**
* @property array|null $params
* @property int $id
* @property string $name
* @property string $content
* @property \Cake\I18n\DateTime $created
* @property \Cake\I18n\DateTime|null $modified
* @property array<\TestApp\Model\Entity\Wheel> $whee... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Entity/PHP/ComplexType.php | tests/test_files/Model/Entity/PHP/ComplexType.php | <?php
namespace TestApp\Model\Entity\PHP;
use Cake\ORM\Entity;
/**
* @property int $id
* @property string $name
* @property string $content
* @property \Cake\I18n\DateTime $created
* @property \Cake\I18n\DateTime|null $modified
* @property array{foo: array<mixed>|null}|null $params !
* @property \Cake\I18n\Dat... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Entity/PHP/Duplicates.php | tests/test_files/Model/Entity/PHP/Duplicates.php | <?php
namespace TestApp\Model\Entity\PHP;
use Cake\ORM\Entity;
/**
* @property int $id
* @property string $name
* @property string $content
* @property \Cake\I18n\DateTime $created
* @property \Cake\I18n\DateTime|null $modified
* @property \Cake\I18n\Date $offer_date
* @property array|null $params
*/
class Du... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Table/SkipSomeTable.php | tests/test_files/Model/Table/SkipSomeTable.php | <?php
namespace TestApp\Model\Table;
use Cake\ORM\Table;
/**
* @property \Cake\ORM\Association\BelongsTo<\TestApp\Model\Table\CarsTable> $Cars
* @property \Cake\ORM\Association\BelongsTo<\TestApp\Model\Table\CarsTable> $CarsAwesome
*/
class SkipSomeTable extends Table {
/**
* @param array $config
* @return v... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Table/FooTable.php | tests/test_files/Model/Table/FooTable.php | <?php
namespace TestApp\Model\Table;
use Cake\ORM\Table;
/**
* @method \TestApp\Model\Entity\Foo get(mixed $primaryKey, array|string $finder = 'all', \Psr\SimpleCache\CacheInterface|string|null $cache = null, \Closure|string|null $cacheKey = null, mixed ...$args)
* @method \TestApp\Model\Entity\Foo newEntity($data ... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Table/WheelsExtraTable.php | tests/test_files/Model/Table/WheelsExtraTable.php | <?php
namespace TestApp\Model\Table;
use Cake\ORM\Table;
/**
* @property \Cake\ORM\Association\BelongsTo<\TestApp\Model\Table\CarsTable> $Cars
*/
class WheelsExtraTable extends Table {
/**
* @param array $config
* @return void
*/
public function initialize(array $config): void {
parent::initialize($confi... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Table/WheelsTable.php | tests/test_files/Model/Table/WheelsTable.php | <?php
namespace TestApp\Model\Table;
use Cake\ORM\Table;
/**
* @method \TestApp\Model\Entity\Wheel newEntity(array $data, array $options = [])
* @property \Cake\ORM\Association\BelongsTo<\TestApp\Model\Table\CarsTable> $Cars
* @method \TestApp\Model\Entity\Wheel newEmptyEntity()
* @method \TestApp\Model\Entity\Wh... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Table/SkipMeTable.php | tests/test_files/Model/Table/SkipMeTable.php | <?php
namespace TestApp\Model\Table;
use Cake\ORM\Table;
/**
* @inheritDoc
*/
class SkipMeTable extends Table {
/**
* @param array $config
* @return void
*/
public function initialize(array $config): void {
parent::initialize($config);
$this->belongsTo('Cars');
}
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Table/BarBarsTable.php | tests/test_files/Model/Table/BarBarsTable.php | <?php
namespace TestApp\Model\Table;
use Cake\ORM\Table;
/**
* @property \Cake\ORM\Association\BelongsTo<\TestApp\Model\Table\FoosTable> $Foos
* @property \Cake\ORM\Association\BelongsToMany<\Awesome\Model\Table\HousesTable> $Houses
*
* @method \TestApp\Model\Entity\BarBar newEmptyEntity()
* @method \TestApp\Mod... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Table/CallbacksTable.php | tests/test_files/Model/Table/CallbacksTable.php | <?php
namespace TestApp\Model\Table;
use ArrayObject;
use Cake\Datasource\EntityInterface;
use Cake\Event\Event;
use Cake\Event\EventInterface;
use Cake\ORM\Table;
class CallbacksTable extends Table {
/**
* @param \Cake\Event\Event $event Event
* @param \TestApp\Model\Entity\Callback $entity Entity
* @param \... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Table/BarBarsAbstractTable.php | tests/test_files/Model/Table/BarBarsAbstractTable.php | <?php
namespace TestApp\Model\Table;
/**
* @property \Cake\ORM\Association\BelongsTo<\TestApp\Model\Table\FoosTable> $Foos
* @property \Cake\ORM\Association\BelongsToMany<\Awesome\Model\Table\HousesTable> $Houses
*
* @method \TestApp\Model\Entity\BarBarsAbstract newEmptyEntity()
* @method \TestApp\Model\Entity\Ba... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Table/ValidationResult/IpRulesTable.php | tests/test_files/Model/Table/ValidationResult/IpRulesTable.php | <?php
namespace TestApp\Model\Table;
use Cake\ORM\Table;
use Cake\Validation\Validator;
class IpRulesTable extends Table {
/**
* @param \Cake\Validation\Validator $validator
* @return \Cake\Validation\Validator
*/
public function validationDefault(Validator $validator): Validator {
$validator->add('allow'... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Table/Validation/IpRulesTable.php | tests/test_files/Model/Table/Validation/IpRulesTable.php | <?php
namespace TestApp\Model\Table;
use Cake\ORM\Table;
use Cake\Validation\Validator;
class IpRulesTable extends Table {
/**
* @param \Cake\Validation\Validator $validator
* @return \Cake\Validation\Validator
*/
public function validationDefault(Validator $validator): Validator {
$validator->add('allow'... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Table/Specific/SkipSomeTable.php | tests/test_files/Model/Table/Specific/SkipSomeTable.php | <?php
namespace TestApp\Model\Table;
use Cake\ORM\Table;
/**
* @property \Cake\ORM\Association\BelongsTo<\TestApp\Model\Table\CarsTable> $Cars
* @property \Cake\ORM\Association\BelongsTo<\TestApp\Model\Table\CarsTable> $CarsAwesome
*/
class SkipSomeTable extends Table {
/**
* @param array $config
* @return v... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Table/Specific/FooTable.php | tests/test_files/Model/Table/Specific/FooTable.php | <?php
namespace TestApp\Model\Table;
use Cake\ORM\Table;
/**
* @method \TestApp\Model\Entity\Foo get(mixed $primaryKey, array|string $finder = 'all', \Psr\SimpleCache\CacheInterface|string|null $cache = null, \Closure|string|null $cacheKey = null, mixed ...$args)
* @method \TestApp\Model\Entity\Foo newEntity($data ... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Table/Specific/WheelsExtraTable.php | tests/test_files/Model/Table/Specific/WheelsExtraTable.php | <?php
namespace TestApp\Model\Table;
use Cake\ORM\Table;
/**
* @property \Cake\ORM\Association\BelongsTo<\TestApp\Model\Table\CarsTable> $Cars
*/
class WheelsExtraTable extends Table {
/**
* @param array $config
* @return void
*/
public function initialize(array $config): void {
parent::initialize($confi... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Table/Specific/WheelsTable.php | tests/test_files/Model/Table/Specific/WheelsTable.php | <?php
namespace TestApp\Model\Table;
use Cake\ORM\Table;
/**
* @method \TestApp\Model\Entity\Wheel newEntity(array<mixed> $data, array<string, mixed> $options = [])
* @property \Cake\ORM\Association\BelongsTo<\TestApp\Model\Table\CarsTable> $Cars
* @method \TestApp\Model\Entity\Wheel newEmptyEntity()
* @method \T... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Table/Specific/SkipMeTable.php | tests/test_files/Model/Table/Specific/SkipMeTable.php | <?php
namespace TestApp\Model\Table;
use Cake\ORM\Table;
/**
* @inheritDoc
*/
class SkipMeTable extends Table {
/**
* @param array $config
* @return void
*/
public function initialize(array $config): void {
parent::initialize($config);
$this->belongsTo('Cars');
}
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Table/Specific/BarBarsTable.php | tests/test_files/Model/Table/Specific/BarBarsTable.php | <?php
namespace TestApp\Model\Table;
use Cake\ORM\Table;
/**
* @property \Cake\ORM\Association\BelongsTo<\TestApp\Model\Table\FoosTable> $Foos
* @property \Cake\ORM\Association\BelongsToMany<\Awesome\Model\Table\HousesTable> $Houses
*
* @method \TestApp\Model\Entity\BarBar newEmptyEntity()
* @method \TestApp\Mod... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Table/Specific/CallbacksTable.php | tests/test_files/Model/Table/Specific/CallbacksTable.php | <?php
namespace TestApp\Model\Table;
use ArrayObject;
use Cake\Datasource\EntityInterface;
use Cake\Event\Event;
use Cake\Event\EventInterface;
use Cake\ORM\Table;
class CallbacksTable extends Table {
/**
* @param \Cake\Event\Event $event Event
* @param \TestApp\Model\Entity\Callback $entity Entity
* @param \... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Model/Table/Specific/BarBarsAbstractTable.php | tests/test_files/Model/Table/Specific/BarBarsAbstractTable.php | <?php
namespace TestApp\Model\Table;
/**
* @property \Cake\ORM\Association\BelongsTo<\TestApp\Model\Table\FoosTable> $Foos
* @property \Cake\ORM\Association\BelongsToMany<\Awesome\Model\Table\HousesTable> $Houses
*
* @method \TestApp\Model\Entity\BarBarsAbstract newEmptyEntity()
* @method \TestApp\Model\Entity\Ba... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Controller/HousesController.php | tests/test_files/Controller/HousesController.php | <?php
namespace Controllers\Controller;
use Cake\Controller\Controller;
/**
* @property \Controllers\Model\Table\HousesTable $Houses
*/
class HousesController extends Controller {
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Controller/BarController.php | tests/test_files/Controller/BarController.php | <?php
namespace TestApp\Controller;
use TestApp\Model\Table\WheelsTable;
/**
* @property \TestApp\Model\Table\BarBarsTable $BarBars
* @property \MyNamespace\MyPlugin\Controller\Component\MyComponent $My
*
* @method \TestApp\Model\Entity\BarBar[]|\Cake\Datasource\ResultSetInterface<\TestApp\Model\Entity\BarBar> pa... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Controller/DynamicPropertiesExistingDocblockController.php | tests/test_files/Controller/DynamicPropertiesExistingDocblockController.php | <?php
namespace TestApp\Controller;
/**
* Existing docblock
*
* @property \TestApp\Model\Table\BarBarsTable $BarBars
*/
#[\AllowDynamicProperties]
class DynamicPropertiesExistingDocblockController extends AppController {
protected ?string $defaultTable = 'BarBars';
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Controller/AppController.php | tests/test_files/Controller/AppController.php | <?php
namespace TestApp\Controller;
use Cake\Controller\Controller;
/**
* @property \TestApp\Controller\Component\MyOtherComponent $MyOther
* @property \TestApp\Controller\Component\CheckHttpCacheComponent $CheckHttpCache
*/
class AppController extends Controller {
/**
* @return void
*/
public function init... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Controller/WindowsController.php | tests/test_files/Controller/WindowsController.php | <?php
namespace Controllers\Controller;
use Cake\Controller\Controller;
/**
* @property \Awesome\Model\Table\WindowsTable $Windows
*/
class WindowsController extends Controller {
protected ?string $defaultTable = 'Awesome.Windows';
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Controller/FoosController.php | tests/test_files/Controller/FoosController.php | <?php
namespace TestApp\Controller;
/**
* @property \TestApp\Model\Table\FoosTable $Foos
*/
class FoosController extends AppController {
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Controller/DynamicPropertiesController.php | tests/test_files/Controller/DynamicPropertiesController.php | <?php
namespace TestApp\Controller;
/**
* @property \TestApp\Model\Table\BarBarsTable $BarBars
*/
#[\AllowDynamicProperties]
class DynamicPropertiesController extends AppController {
protected ?string $defaultTable = 'BarBars';
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Controller/Component/MyControllerComponent.php | tests/test_files/Controller/Component/MyControllerComponent.php | <?php
namespace TestApp\Controller\Component;
use Cake\Controller\Component;
use Cake\Event\EventInterface;
/**
* @method \TestApp\Controller\AppController getController()
*/
class MyControllerComponent extends Component {
/**
* @param \Cake\Event\EventInterface $event
*
* @return void
*/
public function... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Controller/Component/MyOtherComponent.php | tests/test_files/Controller/Component/MyOtherComponent.php | <?php
namespace TestApp\Controller\Component;
use Cake\Controller\Component;
/**
* @property \TestApp\Controller\Component\CheckHttpCacheComponent $CheckHttpCache
* @property \Cake\Controller\Component\FormProtectionComponent $FormProtection
* @property \Cake\Controller\Component\FlashComponent $Flash
*/
class My... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Controller/Component/MyComponent.php | tests/test_files/Controller/Component/MyComponent.php | <?php
namespace TestApp\Controller\Component;
use Cake\Controller\Component;
/**
* @property \Cake\Controller\Component\FlashComponent $Flash
* @property \TestApp\Controller\Component\CheckHttpCacheComponent $CheckHttpCache
* @property \MyNamespace\MyPlugin\Controller\Component\MyComponent $My
*/
class MyComponen... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Custom/CustomClass.php | tests/test_files/Custom/CustomClass.php | <?php
namespace TestApp\Custom;
use Cake\Datasource\ModelAwareTrait;
/**
* @property \TestApp\Model\Table\FoosTable $Foos
*/
class CustomClass {
use ModelAwareTrait;
/**
* @return void
*/
public function initialize() {
$this->fetchModel('Foos');
}
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Custom/Nested/NestedClass.php | tests/test_files/Custom/Nested/NestedClass.php | <?php
namespace TestApp\Custom\Nested;
use Cake\Datasource\ModelAwareTrait;
/**
* @property \TestApp\Model\Table\FoosTable $Foos
*/
class NestedClass {
use ModelAwareTrait;
/**
* @return void
*/
public function initialize() {
$this->loadModel('Foos');
}
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/FormAnnotation/FormAnnotation.existing.php | tests/test_files/FormAnnotation/FormAnnotation.existing.php | <?php
namespace TestApp\Foo;
use TestApp\Form\DocForm;
class FormAnnotation {
public function test() {
$docForm = new DocForm();
/** @uses \TestApp\Form\DocForm::_execute() */
$docForm->execute();
}
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/FormAnnotation/FormAnnotation.missing.php | tests/test_files/FormAnnotation/FormAnnotation.missing.php | <?php
namespace TestApp\Foo;
use TestApp\Form\DocForm;
class FormAnnotation {
public function test() {
$docForm = new DocForm();
$docForm->execute();
}
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/tests/BarControllerTest.missing.php | tests/test_files/tests/BarControllerTest.missing.php | <?php
namespace TestApp\Test\TestCase\Controller;
use Cake\TestSuite\IntegrationTestCase;
class BarControllerTest extends IntegrationTestCase {
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/tests/BarControllerTest.existing.php | tests/test_files/tests/BarControllerTest.existing.php | <?php
namespace TestApp\Test\TestCase\Controller;
use Cake\TestSuite\IntegrationTestCase;
/**
* @uses \TestApp\Controller\BarController
*/
class BarControllerTest extends IntegrationTestCase {
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/routes/before/outdated.php | tests/test_files/routes/before/outdated.php | <?php
/**
* @var Outdated $routes
*/
$routes->prefix();
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/routes/before/empty.php | tests/test_files/routes/before/empty.php | <?php
$routes->prefix();
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/routes/before/existing.php | tests/test_files/routes/before/existing.php | <?php
/**
* @var \Cake\Routing\RouteBuilder $routes
*/
$routes->prefix();
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/routes/after/outdated.php | tests/test_files/routes/after/outdated.php | <?php
/**
* @var \Cake\Routing\RouteBuilder $routes
*/
$routes->prefix();
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/routes/after/empty.php | tests/test_files/routes/after/empty.php | <?php
/**
* @var \Cake\Routing\RouteBuilder $routes
*/
$routes->prefix();
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/routes/after/existing.php | tests/test_files/routes/after/existing.php | <?php
/**
* @var \Cake\Routing\RouteBuilder $routes
*/
$routes->prefix();
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/VirtualFieldAnnotation/VirtualFieldAnnotation.missing.php | tests/test_files/VirtualFieldAnnotation/VirtualFieldAnnotation.missing.php | <?php
namespace TestApp\Model\Entity;
class Foo {
/**
* @return int|null
*/
protected function _getExpectedReleaseType(): ?int
{
$expected = $this->something;
return $expected ?? null;
}
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/VirtualFieldAnnotation/VirtualFieldAnnotation.existing.php | tests/test_files/VirtualFieldAnnotation/VirtualFieldAnnotation.existing.php | <?php
namespace TestApp\Model\Entity;
class Foo {
/**
* @see \TestApp\Model\Entity\Foo::$expected_release_type
*
* @return int|null
*/
protected function _getExpectedReleaseType(): ?int {
$expected = $this->something;
return $expected ?? null;
}
/**
* @see $something
*
* @return string|null
... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/ClassAnnotation/TableFind/before.php | tests/test_files/ClassAnnotation/TableFind/before.php | <?php
namespace App\Controller;
use Cake\ORM\Locator\LocatorAwareTrait;
/** @property \Cake\ORM\Table $Residents */
class TestMeController
{
use LocatorAwareTrait;
public function test(): void {
$residentsTable = $this->fetchTable('Residents');
$resident = $residentsTable->find(
'all',
[
'contain' =... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/templates/existing_strict.php | tests/test_files/templates/existing_strict.php | <?php declare(strict_types=1);
/**
* @license MIT
*/
/**
* @var \TestApp\View\AppView $this
* @var \TestApp\Model\Entity\Wheel $wheel
*/
?>
<div>
<?php echo h($wheel->id); ?>
</div>
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/templates/loop.php | tests/test_files/templates/loop.php | <?php
/**
* @var \TestApp\View\AppView $this
* @var \TestApp\Model\Entity\Car[]|\Cake\Collection\CollectionInterface $cars
* @var \TestApp\Model\Entity\Wheel $wheel
*/
use Something;
?>
<div>
<?php foreach ($cars as $car) {} ?>
<?php echo h($wheel->id); ?>
<?php foreach ($wheel->foos as $foos): ?>
<tr>
<td... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/templates/array.php | tests/test_files/templates/array.php | <?php
/**
* @var \TestApp\View\AppView $this
* @var array $x
* @var array<int> $ints
* @var array{a: int, b: string|null}|null $shaped
* @var mixed $foo
*/
foreach ($x as $y) {
echo $y;
}
foreach ($foo as $int) {
echo $int;
}
?>
<div>
<?php foreach ($ints as $int) {
echo $int;
} ?>
<?php foreach ($sh... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/templates/inline.php | tests/test_files/templates/inline.php | <?php
/**
* @var \TestApp\View\AppView $this
* @var \TestApp\Model\Entity\Wheel $wheel
*/
?>
<div>
<?php echo h($wheel->id); ?>
</div>
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/templates/multiline.php | tests/test_files/templates/multiline.php | <?php
/**
* @var \TestApp\View\AppView $this
* @var array $x
* @var array<int> $ints
* @var array{
* a: int,
* b: string|null
* }|null $shaped
* @var array{
* c: array{
* d: int|string,
* e: string|null
* }
* } $nested
*
* @var mixed $foo
*/
foreach ($x as $y) {
echo $y;
}
foreach ($f... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/templates/edit.php | tests/test_files/templates/edit.php | <?php
/**
* @var \TestApp\View\AppView $this
* @var \TestApp\Model\Entity\Foo $foo
*/
?>
<div>
<?php echo $this->Form->create($foo, []); ?>
</div>
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/templates/vars.php | tests/test_files/templates/vars.php | <?php
/**
* @var \TestApp\View\AppView $this
* @var object $allCars
* @var object $date
* @var object $obj
* @var \TestApp\Model\Entity\Foo[]|\Cake\Collection\CollectionInterface $foos
* @var \TestApp\Model\Entity\Wheel $wheel
*/
if ($obj) {
echo $obj->foo();
}
echo $this->Generator->generate(['obj' => $obj... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/templates/outdated.php | tests/test_files/templates/outdated.php | <?php
/**
* @var \TestApp\View\AppView $this
* @var \Cake\ORM\Entity $car !
* @var \TestApp\Model\Entity\Wheel[]|\Cake\Collection\CollectionInterface $wheels
* @var bool $bool
*/
?>
<div>
<?php echo $this->Form->sth(); ?>
<?php echo $car->id; ?>
<?php foreach ($wheels as $wheel); ?>
<?php echo $bool ? 'yes' :... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/templates/string_interpolation.php | tests/test_files/templates/string_interpolation.php | <?php
/**
* @var \TestApp\View\AppView $this
* @var mixed $name
*/
$url = "/some/path?param={$this->request->getData('field')}";
?>
<div>
<a href="<?php echo $url; ?>">Test</a>
<?php echo h($name); ?>
</div>
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/templates/empty.php | tests/test_files/templates/empty.php | <?php
/**
* @var \TestApp\View\AppView $this
*/
?>
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/templates/following_inline.php | tests/test_files/templates/following_inline.php | <?php
/**
* @license MIT
* @var \TestApp\View\AppView $this
* @var \TestApp\Model\Entity\Wheel $wheel
*/
/** @var \Authorization\Identity $identity */
$identity = $this->getRequest()
->getAttribute('identity');
?>
<div>
<?php echo h($wheel->id); ?>
</div>
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/templates/phpline.php | tests/test_files/templates/phpline.php | <?php
/**
* @var \TestApp\View\AppView $this
* @var \TestApp\Model\Entity\Car[]|\Cake\Collection\CollectionInterface $cars
* @var \TestApp\Model\Entity\Wheel $wheel
*/
?>
<?php echo $this->MyHelper->foo(); ?>
<div>
<?php foreach ($cars as $car) {} ?>
<?php echo h($wheel->id); ?>
</div>
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/templates/existing.php | tests/test_files/templates/existing.php | <?php
/**
* @license MIT
*/
/**
* @var \TestApp\View\AppView $this
* @var array<int, int> $things
* @var \TestApp\Model\Entity\Car[]|\Cake\Collection\CollectionInterface $cars
* @var \TestApp\Model\Entity\Wheel $wheel
*/
?>
<div>
<?php foreach ($cars as $car) {} ?>
<?php echo h($wheel->id); ?>
<?php foreach... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/MailerAnnotation/MailerAnnotation.missing2.php | tests/test_files/MailerAnnotation/MailerAnnotation.missing2.php | <?php
namespace TestApp\Foo;
class MailerAnnotation {
public function test() {
$this->getMailer('Notification')->send('notify', []);
}
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/MailerAnnotation/MailerAnnotation.existing.php | tests/test_files/MailerAnnotation/MailerAnnotation.existing.php | <?php
namespace TestApp\Foo;
use TestApp\Mailer\NotificationMailer;
class MailerAnnotation {
public function test($notificationMailer) {
/** @uses \TestApp\Mailer\NotificationMailer::notify() */
$notificationMailer->send('notify', []);
}
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/MailerAnnotation/MailerAnnotation.missing3.php | tests/test_files/MailerAnnotation/MailerAnnotation.missing3.php | <?php
namespace TestApp\Foo;
class MailerAnnotation {
public function test() {
$this->getMailer('Notification')
->send('notify', []);
}
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/MailerAnnotation/MailerAnnotation.invalid.php | tests/test_files/MailerAnnotation/MailerAnnotation.invalid.php | <?php
namespace TestApp\Mailer;
class DebugMailer {
/**
* Usage: $this->getMailer('Debug')->send('test');
*
* @return self
*/
public function test(): self {
$this->setTransport('gmail')
->setTo('info@pfiff.me')
->setSubject('Debug Email')
->setEmailFormat('html')
->viewBuilder()
->setTempla... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/MailerAnnotation/MailerAnnotation.missing.php | tests/test_files/MailerAnnotation/MailerAnnotation.missing.php | <?php
namespace TestApp\Foo;
class MailerAnnotation {
public function test() {
$notificationMailer = $this->getMailer('Notification');
$notificationMailer->send('notify', []);
}
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/meta/phpstorm/.meta.php | tests/test_files/meta/phpstorm/.meta.php | <?php
// @link https://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Advanced+Metadata
namespace PHPSTORM_META {
expectedArguments(
\Cake\Cache\Cache::add(),
2,
argumentsSet('cacheEngines'),
);
expectedArguments(
\Cake\Cache\Cache::clear(),
0,
argumentsSet('cacheEngines'),
);
expectedArguments(... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | true |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/meta/phpstorm/.meta_lowest.php | tests/test_files/meta/phpstorm/.meta_lowest.php | <?php
// @link https://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Advanced+Metadata
namespace PHPSTORM_META {
expectedArguments(
\Cake\Cache\Cache::add(),
2,
argumentsSet('cacheEngines'),
);
expectedArguments(
\Cake\Cache\Cache::clear(),
0,
argumentsSet('cacheEngines'),
);
expectedArguments(... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | true |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/Command/MyCommand.php | tests/test_files/Command/MyCommand.php | <?php
namespace TestApp\Command;
use Shim\Command\Command;
/**
* @property \TestApp\Model\Table\WheelsTable $Wheels
* @property \TestApp\Model\Table\CarsTable $Cars
*/
class MyCommand extends Command {
protected ?string $defaultTable = 'Cars';
/** @var \Relations\Model\Table\BarsTable */
protected $Bars;
/*... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/View/AppView.php | tests/test_files/View/AppView.php | <?php
namespace TestApp\View;
use Cake\View\View;
/**
* @link https://book.cakephp.org/5/en/views.html#the-app-view
* @property \TestApp\View\Helper\HtmlHelper $Html
* @property \TestApp\View\Helper\MyHelper $My
* @property \Shim\View\Helper\ConfigureHelper $Configure
*/
class AppView extends View {
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_files/View/Helper/MyHelper.php | tests/test_files/View/Helper/MyHelper.php | <?php
namespace TestApp\View\Helper;
use Cake\View\Helper;
/**
* @property \TestApp\View\Helper\HtmlHelper $Html
* @property \Cake\View\Helper\FormHelper $Form
* @property \Shim\View\Helper\ConfigureHelper $Configure
*/
class MyHelper extends Helper {
protected array $helpers = [
'Html',
'Form',
'Shim.Con... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_app/vendor/cakephp/cakephp/tests/Fixture/PostsFixture.php | tests/test_app/vendor/cakephp/cakephp/tests/Fixture/PostsFixture.php | <?php
namespace Cake\Test\Fixture;
use Cake\TestSuite\Fixture\TestFixture;
class PostsFixture extends TestFixture
{
/**
* @var array
*/
public array $records = [
['author_id' => 1, 'title' => 'First Post', 'body' => 'First Post Body', 'published' => 'Y'],
['author_id' => 3, 'title' ... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_app/src/Application.php | tests/test_app/src/Application.php | <?php
namespace TestApp;
use Cake\Http\BaseApplication;
use Cake\Http\MiddlewareQueue;
use Cake\Routing\RouteBuilder;
class Application extends BaseApplication
{
public function bootstrap(): void
{
}
public function routes(RouteBuilder $routes): void
{
}
public function middleware(MiddlewareQueue $middlewar... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_app/src/Model/Entity/Foo.php | tests/test_app/src/Model/Entity/Foo.php | <?php
namespace TestApp\Model\Entity;
use Cake\ORM\Entity;
/**
* @property array|null $params
* @property int $id
* @property \Cake\I18n\OldTime $created
*/
class Foo extends Entity {
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_app/src/Model/Entity/BarBarsAbstract.php | tests/test_app/src/Model/Entity/BarBarsAbstract.php | <?php
namespace TestApp\Model\Entity;
use Cake\ORM\Entity;
class BarBarsAbstract extends Entity {
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_app/src/Model/Entity/Callback.php | tests/test_app/src/Model/Entity/Callback.php | <?php
namespace TestApp\Model\Entity;
use Cake\ORM\Entity;
class Callback extends Entity {
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_app/src/Model/Entity/BarBar.php | tests/test_app/src/Model/Entity/BarBar.php | <?php
namespace TestApp\Model\Entity;
use Cake\ORM\Entity;
class BarBar extends Entity {
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_app/src/Model/Entity/Car.php | tests/test_app/src/Model/Entity/Car.php | <?php
namespace TestApp\Model\Entity;
use Cake\ORM\Entity;
/**
* My car entity which is very cool.
*/
class Car extends Entity {
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_app/src/Model/Entity/Virtual.php | tests/test_app/src/Model/Entity/Virtual.php | <?php
namespace TestApp\Model\Entity;
use Cake\ORM\Entity;
/**
* @property-read bool $virtual_read_only This should be kept.
*/
class Virtual extends Entity {
protected array $_virtual = [
'virtual_one',
];
/**
* @return string|null
*/
protected function _getVirtualOne() {
return 'Virtual One';
}
p... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_app/src/Model/Entity/Wheel.php | tests/test_app/src/Model/Entity/Wheel.php | <?php
namespace TestApp\Model\Entity;
use Cake\ORM\Entity;
class Wheel extends Entity {
protected array $_virtual = [
'virtual_one',
];
/**
* @return string|null
*/
protected function _getVirtualOne() {
return 'Virtual One';
}
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_app/src/Model/Entity/PHP7/Virtual.php | tests/test_app/src/Model/Entity/PHP7/Virtual.php | <?php
namespace TestApp\Model\Entity\PHP7;
use Cake\ORM\Entity;
class Virtual extends Entity {
protected function _getVirtualOne(): ?string {
return 'Virtual One';
}
protected function _getVirtualTwo(): string {
return 'Virtual Two';
}
}
| php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_app/src/Model/Entity/Complex2/Wheel.php | tests/test_app/src/Model/Entity/Complex2/Wheel.php | <?php
namespace TestApp\Model\Entity;
use Cake\ORM\Entity;
/**
* @property array{utm_tags: array<mixed>|null}|null $params !
* @property int $id
* @property string $name
* @property string $content
* @property \Cake\I18n\Date $offer_date
* @property \Cake\I18n\DateTime $created
* @property \Cake\I18n\DateTime|... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/test_app/src/Model/Entity/Complex/Wheel.php | tests/test_app/src/Model/Entity/Complex/Wheel.php | <?php
namespace TestApp\Model\Entity;
use Cake\ORM\Entity;
/**
* @property array{user?: int, account?: int|string, newContacts?: array<mixed>}|null $params !
* @property int $id
* @property string $name
* @property string $content
* @property \Cake\I18n\Date $offer_date
* @property \Cake\I18n\DateTime $created
... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.