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/tests/TestCase/Annotation/MethodAnnotationTest.php | tests/TestCase/Annotation/MethodAnnotationTest.php | <?php
namespace IdeHelper\Test\TestCase\Annotation;
use Cake\TestSuite\TestCase;
use IdeHelper\Annotation\MethodAnnotation;
use IdeHelper\Annotation\PropertyAnnotation;
use RuntimeException;
class MethodAnnotationTest extends TestCase {
/**
* @return void
*/
public function testBuild() {
$annotation = new M... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Annotation/ParamAnnotationTest.php | tests/TestCase/Annotation/ParamAnnotationTest.php | <?php
namespace IdeHelper\Test\TestCase\Annotation;
use Cake\TestSuite\TestCase;
use IdeHelper\Annotation\MethodAnnotation;
use IdeHelper\Annotation\ParamAnnotation;
class ParamAnnotationTest extends TestCase {
/**
* @return void
*/
public function testBuild() {
$annotation = new ParamAnnotation('\\Foo\\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/TestCase/Annotation/PropertyAnnotationTest.php | tests/TestCase/Annotation/PropertyAnnotationTest.php | <?php
namespace IdeHelper\Test\TestCase\Annotation;
use Cake\TestSuite\TestCase;
use IdeHelper\Annotation\MethodAnnotation;
use IdeHelper\Annotation\PropertyAnnotation;
class PropertyAnnotationTest extends TestCase {
/**
* @return void
*/
public function testBuild() {
$annotation = new PropertyAnnotation('\... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Annotation/ExtendsAnnotationTest.php | tests/TestCase/Annotation/ExtendsAnnotationTest.php | <?php
namespace IdeHelper\Test\TestCase\Annotation;
use IdeHelper\Annotation\ExtendsAnnotation;
use IdeHelper\Annotation\PropertyAnnotation;
use RuntimeException;
use Shim\TestSuite\TestCase;
class ExtendsAnnotationTest extends TestCase {
/**
* @return void
*/
public function testBuild() {
$annotation = new... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Annotation/UsesAnnotationTest.php | tests/TestCase/Annotation/UsesAnnotationTest.php | <?php
namespace IdeHelper\Test\TestCase\Annotation;
use IdeHelper\Annotation\PropertyAnnotation;
use IdeHelper\Annotation\UsesAnnotation;
use RuntimeException;
use Shim\TestSuite\TestCase;
class UsesAnnotationTest extends TestCase {
/**
* @return void
*/
public function testBuild() {
$annotation = new UsesA... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Annotation/AnnotationFactoryTest.php | tests/TestCase/Annotation/AnnotationFactoryTest.php | <?php
namespace IdeHelper\Test\TestCase\Annotation;
use Cake\TestSuite\TestCase;
use IdeHelper\Annotation\AnnotationFactory;
use IdeHelper\Annotation\ExtendsAnnotation;
use IdeHelper\Annotation\MethodAnnotation;
use IdeHelper\Annotation\MixinAnnotation;
use IdeHelper\Annotation\PropertyAnnotation;
use IdeHelper\Annot... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Console/IoTest.php | tests/TestCase/Console/IoTest.php | <?php
namespace IdeHelper\Test\TestCase\Console;
use Cake\Console\ConsoleIo;
use Cake\Console\Exception\StopException;
use Cake\TestSuite\TestCase;
use IdeHelper\Console\Io;
use Shim\TestSuite\ConsoleOutput;
class IoTest extends TestCase {
protected Io $io;
protected ConsoleIo $consoleIo;
protected ConsoleOutp... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/ValueObject/DoubleQuoteStringNameTest.php | tests/TestCase/ValueObject/DoubleQuoteStringNameTest.php | <?php
namespace IdeHelper\Test\TestCase\ValueObject;
use Cake\TestSuite\TestCase;
use TestApp\ValueObject\DoubleQuoteStringName;
class DoubleQuoteStringNameTest extends TestCase {
/**
* @return void
*/
public function testCreate(): void {
$stringName = 'Foo.Baz';
$result = DoubleQuoteStringName::create($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/TestCase/ValueObject/StringNameTest.php | tests/TestCase/ValueObject/StringNameTest.php | <?php
namespace IdeHelper\Test\TestCase\ValueObject;
use Cake\TestSuite\TestCase;
use IdeHelper\ValueObject\StringName;
class StringNameTest extends TestCase {
/**
* @return void
*/
public function testCreate(): void {
$stringName = 'Foo.Baz';
$result = StringName::create($stringName);
$this->assertSame... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/ValueObject/KeyValueTest.php | tests/TestCase/ValueObject/KeyValueTest.php | <?php
namespace IdeHelper\Test\TestCase\ValueObject;
use Cake\TestSuite\TestCase;
use IdeHelper\ValueObject\ClassName;
use IdeHelper\ValueObject\KeyValue;
class KeyValueTest extends TestCase {
/**
* @return void
*/
public function testCreate(): void {
$key = ClassName::create(KeyValue::class);
$value = C... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/ValueObject/LiteralNameTest.php | tests/TestCase/ValueObject/LiteralNameTest.php | <?php
namespace IdeHelper\Test\TestCase\ValueObject;
use Cake\TestSuite\TestCase;
use IdeHelper\ValueObject\LiteralName;
class LiteralNameTest extends TestCase {
/**
* @return void
*/
public function testCreate(): void {
$stringName = 'Foo.Baz';
$result = LiteralName::create($stringName);
$this->assertS... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/ValueObject/ClassNameTest.php | tests/TestCase/ValueObject/ClassNameTest.php | <?php
namespace IdeHelper\Test\TestCase\ValueObject;
use Cake\TestSuite\TestCase;
use IdeHelper\ValueObject\ClassName;
class ClassNameTest extends TestCase {
/**
* @return void
*/
public function testCreate(): void {
$className = 'Foo\\Bar\\Baz';
$result = ClassName::create($className);
$this->assertSam... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Utility/AppPathTest.php | tests/TestCase/Utility/AppPathTest.php | <?php
namespace IdeHelper\Test\TestCase\Utility;
use Cake\TestSuite\TestCase;
use IdeHelper\Utility\AppPath;
class AppPathTest extends TestCase {
/**
* @return void
*/
public function testGet() {
$result = AppPath::get('View/Helper');
$this->assertCount(1, $result);
$path = array_shift($result);
$thi... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Utility/GenericStringTest.php | tests/TestCase/Utility/GenericStringTest.php | <?php
namespace IdeHelper\Test\TestCase\Utility;
use Cake\Core\Configure;
use Cake\TestSuite\TestCase;
use IdeHelper\Utility\GenericString;
class GenericStringTest extends TestCase {
/**
* @return void
*/
public function testClassName() {
$result = GenericString::generate('Foo');
$this->assertSame('Foo[]'... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Utility/PluginPathTest.php | tests/TestCase/Utility/PluginPathTest.php | <?php
namespace IdeHelper\Test\TestCase\Utility;
use Cake\Core\Plugin;
use Cake\TestSuite\TestCase;
use IdeHelper\Utility\PluginPath;
class PluginPathTest extends TestCase {
/**
* @return void
*/
public function testGet() {
$plugin = 'Shim';
$result = PluginPath::get($plugin);
$this->assertTextContains(... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Utility/AppTest.php | tests/TestCase/Utility/AppTest.php | <?php
namespace IdeHelper\Test\TestCase\Utility;
use Cake\TestSuite\TestCase;
use IdeHelper\Utility\App;
use IdeHelper\View\Helper\DocBlockHelper;
class AppTest extends TestCase {
/**
* @return void
*/
public function testClassName() {
$result = App::className('Foos', 'Bar', 'Baz');
$this->assertNull($res... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Utility/PluginTest.php | tests/TestCase/Utility/PluginTest.php | <?php
namespace IdeHelper\Test\TestCase\Utility;
use Cake\Core\Configure;
use Cake\TestSuite\TestCase;
use IdeHelper\Utility\Plugin;
class PluginTest extends TestCase {
/**
* @return void
*/
protected function setUp(): void {
parent::setUp();
$this->loadPlugins(['IdeHelper', 'Awesome', 'MyNamespace/MyPlu... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Utility/TranslationParserTest.php | tests/TestCase/Utility/TranslationParserTest.php | <?php
namespace IdeHelper\Test\TestCase\Utility;
use Cake\TestSuite\TestCase;
use IdeHelper\Utility\TranslationParser;
class TranslationParserTest extends TestCase {
protected TranslationParser $translationParser;
/**
* @return void
*/
protected function setUp(): void {
parent::setUp();
$this->translat... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/CodeCompletion/TaskCollectionTest.php | tests/TestCase/CodeCompletion/TaskCollectionTest.php | <?php
namespace IdeHelper\Test\TestCase\CodeCompletion;
use Cake\TestSuite\TestCase;
use IdeHelper\CodeCompletion\TaskCollection;
class TaskCollectionTest extends TestCase {
protected TaskCollection $taskCollection;
/**
* @return void
*/
protected function setUp(): void {
parent::setUp();
$this->taskCo... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/CodeCompletion/CodeCompletionGeneratorTest.php | tests/TestCase/CodeCompletion/CodeCompletionGeneratorTest.php | <?php
namespace IdeHelper\Test\TestCase\CodeCompletion;
use Cake\TestSuite\TestCase;
use IdeHelper\CodeCompletion\CodeCompletionGenerator;
use IdeHelper\CodeCompletion\TaskCollection;
class CodeCompletionGeneratorTest extends TestCase {
protected CodeCompletionGenerator $generator;
/**
* @return void
*/
pro... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/CodeCompletion/Task/ControllerEventsTaskTest.php | tests/TestCase/CodeCompletion/Task/ControllerEventsTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\CodeCompletion\Task;
use Cake\Core\Configure;
use Cake\TestSuite\TestCase;
use IdeHelper\CodeCompletion\Task\ControllerEventsTask;
class ControllerEventsTaskTest extends TestCase {
protected ControllerEventsTask $task;
/**
* @return void
*/
protected function setUp():... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/CodeCompletion/Task/ModelEventsTaskTest.php | tests/TestCase/CodeCompletion/Task/ModelEventsTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\CodeCompletion\Task;
use Cake\TestSuite\TestCase;
use IdeHelper\CodeCompletion\Task\ModelEventsTask;
class ModelEventsTaskTest extends TestCase {
protected ModelEventsTask $task;
/**
* @return void
*/
protected function setUp(): void {
parent::setUp();
$this->tas... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/CodeCompletion/Task/ViewEventsTaskTest.php | tests/TestCase/CodeCompletion/Task/ViewEventsTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\CodeCompletion\Task;
use Cake\TestSuite\TestCase;
use IdeHelper\CodeCompletion\Task\ViewEventsTask;
class ViewEventsTaskTest extends TestCase {
protected ViewEventsTask $task;
/**
* @return void
*/
protected function setUp(): void {
parent::setUp();
$this->task =... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/CodeCompletion/Task/BehaviorTaskTest.php | tests/TestCase/CodeCompletion/Task/BehaviorTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\CodeCompletion\Task;
use Cake\TestSuite\TestCase;
use IdeHelper\CodeCompletion\Task\BehaviorTask;
class BehaviorTaskTest extends TestCase {
protected BehaviorTask $task;
/**
* @return void
*/
protected function setUp(): void {
parent::setUp();
$this->loadPlugins(... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Annotator/CommandAnnotatorTest.php | tests/TestCase/Annotator/CommandAnnotatorTest.php | <?php
namespace IdeHelper\Test\TestCase\Annotator;
use Cake\Console\ConsoleIo;
use Cake\TestSuite\TestCase;
use IdeHelper\Annotator\AbstractAnnotator;
use IdeHelper\Annotator\CommandAnnotator;
use IdeHelper\Console\Io;
use Shim\TestSuite\ConsoleOutput;
class CommandAnnotatorTest extends TestCase {
use DiffHelperTr... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Annotator/HelperAnnotatorTest.php | tests/TestCase/Annotator/HelperAnnotatorTest.php | <?php
namespace IdeHelper\Test\TestCase\Annotator;
use Cake\Console\ConsoleIo;
use Cake\TestSuite\TestCase;
use IdeHelper\Annotator\AbstractAnnotator;
use IdeHelper\Annotator\HelperAnnotator;
use IdeHelper\Console\Io;
use Shim\TestSuite\ConsoleOutput;
class HelperAnnotatorTest extends TestCase {
use DiffHelperTrai... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Annotator/DiffHelperTrait.php | tests/TestCase/Annotator/DiffHelperTrait.php | <?php
namespace IdeHelper\Test\TestCase\Annotator;
use SebastianBergmann\Diff\Differ;
use SebastianBergmann\Diff\Output\DiffOnlyOutputBuilder;
trait DiffHelperTrait {
/**
* Outputs some debug info for tests.
*
* @param string $expected
* @param string $actual
*
* @return void
*/
protected 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/TestCase/Annotator/ViewAnnotatorTest.php | tests/TestCase/Annotator/ViewAnnotatorTest.php | <?php
namespace IdeHelper\Test\TestCase\Annotator;
use Cake\Console\ConsoleIo;
use Cake\TestSuite\TestCase;
use IdeHelper\Annotator\AbstractAnnotator;
use IdeHelper\Annotator\ViewAnnotator;
use IdeHelper\Console\Io;
use Shim\TestSuite\ConsoleOutput;
use Shim\TestSuite\TestTrait;
class ViewAnnotatorTest extends TestC... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Annotator/EntityAnnotatorTest.php | tests/TestCase/Annotator/EntityAnnotatorTest.php | <?php
namespace IdeHelper\Test\TestCase\Annotator;
use Cake\Console\ConsoleIo;
use Cake\Core\Configure;
use Cake\Database\Schema\TableSchema;
use Cake\ORM\TableRegistry;
use Cake\TestSuite\TestCase;
use Cake\View\View;
use IdeHelper\Annotator\AbstractAnnotator;
use IdeHelper\Annotator\EntityAnnotator;
use IdeHelper\C... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Annotator/ModelAnnotatorSpecificTest.php | tests/TestCase/Annotator/ModelAnnotatorSpecificTest.php | <?php
namespace IdeHelper\Test\TestCase\Annotator;
use Cake\Console\ConsoleIo;
use Cake\Core\Configure;
use Cake\Database\Schema\TableSchema;
use Cake\ORM\TableRegistry;
use Cake\TestSuite\TestCase;
use IdeHelper\Annotator\AbstractAnnotator;
use IdeHelper\Annotator\ModelAnnotator;
use IdeHelper\Console\Io;
use Shim\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/TestCase/Annotator/CallbackAnnotatorTest.php | tests/TestCase/Annotator/CallbackAnnotatorTest.php | <?php
namespace IdeHelper\Test\TestCase\Annotator;
use Cake\Console\ConsoleIo;
use Cake\TestSuite\TestCase;
use IdeHelper\Annotator\AbstractAnnotator;
use IdeHelper\Annotator\CallbackAnnotator;
use IdeHelper\Console\Io;
use RuntimeException;
use Shim\TestSuite\ConsoleOutput;
class CallbackAnnotatorTest extends TestC... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Annotator/ClassAnnotatorTest.php | tests/TestCase/Annotator/ClassAnnotatorTest.php | <?php
namespace IdeHelper\Test\TestCase\Annotator;
use Cake\Console\ConsoleIo;
use Cake\TestSuite\TestCase;
use IdeHelper\Annotator\AbstractAnnotator;
use IdeHelper\Annotator\ClassAnnotator;
use IdeHelper\Console\Io;
use Shim\TestSuite\ConsoleOutput;
class ClassAnnotatorTest extends TestCase {
protected ConsoleOut... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Annotator/ComponentAnnotatorTest.php | tests/TestCase/Annotator/ComponentAnnotatorTest.php | <?php
namespace IdeHelper\Test\TestCase\Annotator;
use Cake\Console\ConsoleIo;
use Cake\TestSuite\TestCase;
use IdeHelper\Annotator\AbstractAnnotator;
use IdeHelper\Annotator\ComponentAnnotator;
use IdeHelper\Console\Io;
use Shim\TestSuite\ConsoleOutput;
use Shim\TestSuite\TestTrait;
class ComponentAnnotatorTest ext... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Annotator/ModelAnnotatorTest.php | tests/TestCase/Annotator/ModelAnnotatorTest.php | <?php
namespace IdeHelper\Test\TestCase\Annotator;
use Cake\Console\ConsoleIo;
use Cake\Core\Configure;
use Cake\Database\Schema\TableSchema;
use Cake\ORM\TableRegistry;
use Cake\TestSuite\TestCase;
use IdeHelper\Annotator\AbstractAnnotator;
use IdeHelper\Annotator\ModelAnnotator;
use IdeHelper\Console\Io;
use Shim\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/TestCase/Annotator/TemplateAnnotatorTest.php | tests/TestCase/Annotator/TemplateAnnotatorTest.php | <?php
namespace IdeHelper\Test\TestCase\Annotator;
use Cake\Console\ConsoleIo;
use Cake\Core\Configure;
use Cake\Database\Schema\TableSchema;
use Cake\ORM\TableRegistry;
use Cake\TestSuite\TestCase;
use IdeHelper\Annotator\AbstractAnnotator;
use IdeHelper\Annotator\TemplateAnnotator;
use IdeHelper\Console\Io;
use Shi... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Annotator/ControllerAnnotatorTest.php | tests/TestCase/Annotator/ControllerAnnotatorTest.php | <?php
namespace IdeHelper\Test\TestCase\Annotator;
use Cake\Console\ConsoleIo;
use Cake\TestSuite\TestCase;
use IdeHelper\Annotator\AbstractAnnotator;
use IdeHelper\Annotator\ControllerAnnotator;
use IdeHelper\Console\Io;
use Shim\TestSuite\ConsoleOutput;
class ControllerAnnotatorTest extends TestCase {
use DiffHe... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Annotator/Template/VariableExtractorTest.php | tests/TestCase/Annotator/Template/VariableExtractorTest.php | <?php
namespace IdeHelper\Test\TestCase\Annotator\Template;
use IdeHelper\Annotator\Template\VariableExtractor;
use IdeHelper\Annotator\Traits\FileTrait;
use PHP_CodeSniffer\Config;
use Shim\TestSuite\TestCase;
$composerVendorDir = PLUGIN_ROOT . DS . 'vendor';
$codesnifferDir = 'squizlabs' . DS . 'php_codesniffer';
... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Annotator/CallbackAnnotatorTask/VirtualFieldCallbackAnnotatorTaskTest.php | tests/TestCase/Annotator/CallbackAnnotatorTask/VirtualFieldCallbackAnnotatorTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Annotator\CallbackAnnotatorTask;
use Cake\Console\ConsoleIo;
use IdeHelper\Annotator\AbstractAnnotator;
use IdeHelper\Annotator\CallbackAnnotatorTask\VirtualFieldCallbackAnnotatorTask;
use IdeHelper\Console\Io;
use Shim\TestSuite\ConsoleOutput;
use Shim\TestSuite\TestCase;
cla... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Annotator/ClassAnnotatorTask/FormClassAnnotatorTaskTest.php | tests/TestCase/Annotator/ClassAnnotatorTask/FormClassAnnotatorTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Annotator\ClassAnnotatorTask;
use Cake\Console\ConsoleIo;
use IdeHelper\Annotator\AbstractAnnotator;
use IdeHelper\Annotator\ClassAnnotatorTask\FormClassAnnotatorTask;
use IdeHelper\Console\Io;
use Shim\TestSuite\ConsoleOutput;
use Shim\TestSuite\TestCase;
class FormClassAnnot... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Annotator/ClassAnnotatorTask/TestClassAnnotatorTaskTest.php | tests/TestCase/Annotator/ClassAnnotatorTask/TestClassAnnotatorTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Annotator\ClassAnnotatorTask;
use Cake\Console\ConsoleIo;
use Cake\Core\Configure;
use IdeHelper\Annotator\AbstractAnnotator;
use IdeHelper\Annotator\ClassAnnotatorTask\TestClassAnnotatorTask;
use IdeHelper\Console\Io;
use Shim\TestSuite\ConsoleOutput;
use Shim\TestSuite\TestCa... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Annotator/ClassAnnotatorTask/MailerClassAnnotatorTaskTest.php | tests/TestCase/Annotator/ClassAnnotatorTask/MailerClassAnnotatorTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Annotator\ClassAnnotatorTask;
use Cake\Console\ConsoleIo;
use IdeHelper\Annotator\AbstractAnnotator;
use IdeHelper\Annotator\ClassAnnotatorTask\MailerClassAnnotatorTask;
use IdeHelper\Console\Io;
use Shim\TestSuite\ConsoleOutput;
use Shim\TestSuite\TestCase;
class MailerClassA... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Annotator/ClassAnnotatorTask/TableFindAnnotatorTaskTest.php | tests/TestCase/Annotator/ClassAnnotatorTask/TableFindAnnotatorTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Annotator\ClassAnnotatorTask;
use Cake\Console\ConsoleIo;
use IdeHelper\Annotator\AbstractAnnotator;
use IdeHelper\Annotator\ClassAnnotatorTask\TableFindAnnotatorTask;
use IdeHelper\Console\Io;
use Shim\TestSuite\ConsoleOutput;
use Shim\TestSuite\TestCase;
class TableFindAnnot... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Illuminator/IlluminatorTest.php | tests/TestCase/Illuminator/IlluminatorTest.php | <?php
namespace IdeHelper\Test\TestCase\Illuminator;
use Cake\Console\ConsoleIo;
use Cake\TestSuite\TestCase;
use IdeHelper\Console\Io;
use IdeHelper\Illuminator\Illuminator;
use IdeHelper\Illuminator\TaskCollection;
use Shim\TestSuite\ConsoleOutput;
class IlluminatorTest extends TestCase {
protected ConsoleOutput... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Illuminator/Task/EntityFieldTaskTest.php | tests/TestCase/Illuminator/Task/EntityFieldTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Illuminator\Task;
use Cake\Console\ConsoleIo;
use Cake\TestSuite\TestCase;
use IdeHelper\Annotator\AbstractAnnotator;
use IdeHelper\Console\Io;
use IdeHelper\Illuminator\Task\EntityFieldTask;
use Shim\TestSuite\ConsoleOutput;
class EntityFieldTaskTest extends TestCase {
prot... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Illuminator/Task/ControllerDefaultTableTaskTest.php | tests/TestCase/Illuminator/Task/ControllerDefaultTableTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Illuminator\Task;
use Cake\Console\ConsoleIo;
use Cake\TestSuite\TestCase;
use IdeHelper\Annotator\AbstractAnnotator;
use IdeHelper\Console\Io;
use IdeHelper\Illuminator\Task\ControllerDefaultTableTask;
use Shim\TestSuite\ConsoleOutput;
class ControllerDefaultTableTaskTest ext... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Illuminator/Task/TableValidationLinkTaskTest.php | tests/TestCase/Illuminator/Task/TableValidationLinkTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Illuminator\Task;
use Cake\TestSuite\TestCase;
use IdeHelper\Annotator\AbstractAnnotator;
use IdeHelper\Illuminator\Task\TableValidationLinkTask;
class TableValidationLinkTaskTest extends TestCase {
/**
* @return void
*/
public function testShouldRun(): void {
$task =... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/TaskCollectionTest.php | tests/TestCase/Generator/TaskCollectionTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator;
use Cake\TestSuite\TestCase;
use IdeHelper\Generator\TaskCollection;
class TaskCollectionTest extends TestCase {
protected TaskCollection $taskCollection;
/**
* @return void
*/
protected function setUp(): void {
parent::setUp();
$this->taskCollection =... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/PhpstormGeneratorTest.php | tests/TestCase/Generator/PhpstormGeneratorTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator;
use Cake\Core\Configure;
use Cake\Core\Plugin;
use IdeHelper\Generator\PhpstormGenerator;
use IdeHelper\Generator\Task\EnvTask;
use IdeHelper\Generator\Task\FixtureTask;
use IdeHelper\Generator\TaskCollection;
use Shim\TestSuite\TestCase;
use TestApp\Generator\Task\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/TestCase/Generator/Directive/RegisterArgumentsSetTest.php | tests/TestCase/Generator/Directive/RegisterArgumentsSetTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Directive;
use IdeHelper\Generator\Directive\ExpectedArguments;
use IdeHelper\Generator\Directive\ExpectedReturnValues;
use IdeHelper\Generator\Directive\RegisterArgumentsSet;
use Shim\TestSuite\TestCase;
class RegisterArgumentsSetTest extends TestCase {
/**
* @r... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Directive/ExpectedArgumentsTest.php | tests/TestCase/Generator/Directive/ExpectedArgumentsTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Directive;
use Cake\ORM\Table;
use IdeHelper\Generator\Directive\ExpectedArguments;
use Shim\TestSuite\TestCase;
class ExpectedArgumentsTest extends TestCase {
/**
* @return void
*/
public function testBuild() {
$map = [
'\Foo\Bar::class',
'"string"',
... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Directive/OverrideTest.php | tests/TestCase/Generator/Directive/OverrideTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Directive;
use Cake\ORM\Table;
use IdeHelper\Generator\Directive\Override;
use IdeHelper\ValueObject\ClassName;
use IdeHelper\ValueObject\KeyValue;
use Shim\TestSuite\TestCase;
class OverrideTest extends TestCase {
/**
* @return void
*/
public function testBui... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Directive/ExpectedReturnValuesTest.php | tests/TestCase/Generator/Directive/ExpectedReturnValuesTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Directive;
use Cake\ORM\Table;
use IdeHelper\Generator\Directive\ExpectedReturnValues;
use Shim\TestSuite\TestCase;
class ExpectedReturnValuesTest extends TestCase {
/**
* @return void
*/
public function testBuild() {
$map = [
'\Foo\Bar::class',
'"stri... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Directive/ExitPointTest.php | tests/TestCase/Generator/Directive/ExitPointTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Directive;
use Cake\Console\ConsoleIo;
use IdeHelper\Generator\Directive\ExitPoint;
use Shim\TestSuite\TestCase;
class ExitPointTest extends TestCase {
/**
* @return void
*/
public function testBuild() {
$directive = new ExitPoint('\\' . ConsoleIo::class . '... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Task/CacheTaskTest.php | tests/TestCase/Generator/Task/CacheTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use Cake\TestSuite\TestCase;
use IdeHelper\Generator\Directive\RegisterArgumentsSet;
use IdeHelper\Generator\Task\CacheTask;
class CacheTaskTest extends TestCase {
protected CacheTask $task;
/**
* @return void
*/
protected function setUp(): void {
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/TestCase/Generator/Task/EnvTaskTest.php | tests/TestCase/Generator/Task/EnvTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use IdeHelper\Generator\Task\EnvTask;
use Shim\TestSuite\TestCase;
class EnvTaskTest extends TestCase {
protected ?EnvTask $task = null;
/**
* @return void
*/
protected function setUp(): void {
parent::setUp();
$this->task = new EnvTask();
}
/*... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Task/MailerTaskTest.php | tests/TestCase/Generator/Task/MailerTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use Cake\TestSuite\TestCase;
use IdeHelper\Generator\Task\MailerTask;
class MailerTaskTest extends TestCase {
protected MailerTask $task;
/**
* @return void
*/
protected function setUp(): void {
parent::setUp();
$this->task = new MailerTask();
}
... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Task/DatabaseTypeTaskTest.php | tests/TestCase/Generator/Task/DatabaseTypeTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use Cake\Database\TypeFactory;
use Cake\TestSuite\TestCase;
use IdeHelper\Generator\Task\DatabaseTypeTask;
use TestApp\Database\Type\UuidType;
class DatabaseTypeTaskTest extends TestCase {
protected DatabaseTypeTask $task;
/**
* @return void
*/
protect... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Task/EntityTaskTest.php | tests/TestCase/Generator/Task/EntityTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use Cake\TestSuite\TestCase;
use IdeHelper\Generator\Directive\ExpectedArguments;
use IdeHelper\Generator\Directive\RegisterArgumentsSet;
use IdeHelper\Generator\Task\EntityTask;
class EntityTaskTest extends TestCase {
/**
* @var array<string>
*/
protect... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Task/ElementTaskTest.php | tests/TestCase/Generator/Task/ElementTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use Cake\TestSuite\TestCase;
use IdeHelper\Generator\Task\ElementTask;
use Shim\TestSuite\TestTrait;
class ElementTaskTest extends TestCase {
use TestTrait;
protected ElementTask $task;
/**
* @return void
*/
protected function setUp(): void {
paren... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Task/CellTaskTest.php | tests/TestCase/Generator/Task/CellTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use Cake\TestSuite\TestCase;
use IdeHelper\Generator\Task\CellTask;
class CellTaskTest extends TestCase {
protected CellTask $task;
/**
* @return void
*/
protected function setUp(): void {
parent::setUp();
$this->task = new CellTask();
}
/**
... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Task/TranslationKeyTaskTest.php | tests/TestCase/Generator/Task/TranslationKeyTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use Cake\Core\Configure;
use IdeHelper\Generator\Task\TranslationKeyTask;
use Shim\TestSuite\TestCase;
class TranslationKeyTaskTest extends TestCase {
protected ?TranslationKeyTask $task = null;
/**
* @return void
*/
protected function setUp(): void {
... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Task/DatabaseTableTaskTest.php | tests/TestCase/Generator/Task/DatabaseTableTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use Cake\TestSuite\TestCase;
use IdeHelper\Generator\Directive\RegisterArgumentsSet;
use IdeHelper\Generator\Task\DatabaseTableTask;
class DatabaseTableTaskTest extends TestCase {
/**
* @var array<string>
*/
protected array $fixtures = [
'plugin.IdeHel... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Task/ValidationTaskTest.php | tests/TestCase/Generator/Task/ValidationTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use IdeHelper\Generator\Directive\RegisterArgumentsSet;
use IdeHelper\Generator\Task\ValidationTask;
use Shim\TestSuite\TestCase;
class ValidationTaskTest extends TestCase {
protected ?ValidationTask $task = null;
/**
* @return void
*/
protected functi... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Task/ConfigureTaskTest.php | tests/TestCase/Generator/Task/ConfigureTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use Cake\TestSuite\TestCase;
use IdeHelper\Generator\Directive\RegisterArgumentsSet;
use IdeHelper\Generator\Task\ConfigureTask;
use Shim\TestSuite\TestTrait;
class ConfigureTaskTest extends TestCase {
use TestTrait;
protected ConfigureTask $task;
/**
*... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Task/RequestTaskTest.php | tests/TestCase/Generator/Task/RequestTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use IdeHelper\Generator\Task\RequestTask;
use Shim\TestSuite\TestCase;
class RequestTaskTest extends TestCase {
protected ?RequestTask $task = null;
/**
* @return void
*/
protected function setUp(): void {
parent::setUp();
$this->task = new Reques... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Task/FixtureTaskTest.php | tests/TestCase/Generator/Task/FixtureTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use Cake\TestSuite\TestCase;
use IdeHelper\Generator\Task\FixtureTask;
class FixtureTaskTest extends TestCase {
protected FixtureTask $task;
/**
* @return void
*/
protected function setUp(): void {
parent::setUp();
$this->loadPlugins(['MyNamespace... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Task/DatabaseTableColumnTypeTaskTest.php | tests/TestCase/Generator/Task/DatabaseTableColumnTypeTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use Cake\Core\Plugin;
use Cake\Database\Driver\Mysql;
use Cake\Database\Driver\Postgres;
use Cake\Datasource\ConnectionManager;
use Cake\TestSuite\TestCase;
use IdeHelper\Generator\Directive\ExpectedArguments;
use IdeHelper\Generator\Task\DatabaseTableColumnType... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Task/RoutePathTaskTest.php | tests/TestCase/Generator/Task/RoutePathTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use Cake\TestSuite\TestCase;
use IdeHelper\Generator\Task\RoutePathTask;
class RoutePathTaskTest extends TestCase {
protected RoutePathTask $task;
/**
* @return void
*/
protected function setUp(): void {
parent::setUp();
$this->loadPlugins(['Aweso... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Task/FormHelperTaskTest.php | tests/TestCase/Generator/Task/FormHelperTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use Cake\TestSuite\TestCase;
use IdeHelper\Generator\Directive\ExpectedArguments;
use IdeHelper\Generator\Task\FormHelperTask;
class FormHelperTaskTest extends TestCase {
/**
* @var array<string>
*/
protected array $fixtures = [
'plugin.IdeHelper.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/TestCase/Generator/Task/ConnectionTaskTest.php | tests/TestCase/Generator/Task/ConnectionTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use IdeHelper\Generator\Task\ConnectionTask;
use Shim\TestSuite\TestCase;
class ConnectionTaskTest extends TestCase {
protected ?ConnectionTask $task = null;
/**
* @return void
*/
protected function setUp(): void {
parent::setUp();
$this->task = n... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Task/ModelTaskTest.php | tests/TestCase/Generator/Task/ModelTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use Cake\TestSuite\TestCase;
use IdeHelper\Generator\Task\ModelTask;
class ModelTaskTest extends TestCase {
protected ModelTask $task;
/**
* @return void
*/
protected function setUp(): void {
parent::setUp();
$this->loadPlugins(['Awesome', 'Contro... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Task/ConsoleTaskTest.php | tests/TestCase/Generator/Task/ConsoleTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use Cake\TestSuite\TestCase;
use IdeHelper\Generator\Task\ConsoleTask;
class ConsoleTaskTest extends TestCase {
protected ConsoleTask $task;
/**
* @return void
*/
protected function setUp(): void {
parent::setUp();
$this->task = new ConsoleTask();... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Task/ComponentTaskTest.php | tests/TestCase/Generator/Task/ComponentTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use Cake\TestSuite\TestCase;
use IdeHelper\Generator\Task\ComponentTask;
class ComponentTaskTest extends TestCase {
protected ComponentTask $task;
/**
* @return void
*/
protected function setUp(): void {
parent::setUp();
$this->task = new Componen... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Task/ConsoleHelperTaskTest.php | tests/TestCase/Generator/Task/ConsoleHelperTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use Cake\TestSuite\TestCase;
use IdeHelper\Generator\Task\ConsoleHelperTask;
class ConsoleHelperTaskTest extends TestCase {
protected ConsoleHelperTask $task;
/**
* @return void
*/
protected function setUp(): void {
parent::setUp();
$this->task = ... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Task/DatabaseTableColumnNameTaskTest.php | tests/TestCase/Generator/Task/DatabaseTableColumnNameTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use Cake\TestSuite\TestCase;
use IdeHelper\Generator\Task\DatabaseTableColumnNameTask;
class DatabaseTableColumnNameTaskTest extends TestCase {
/**
* @var array<string>
*/
protected array $fixtures = [
'plugin.IdeHelper.Cars',
'plugin.IdeHelper.Wheel... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Task/HelperTaskTest.php | tests/TestCase/Generator/Task/HelperTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use Cake\TestSuite\TestCase;
use IdeHelper\Generator\Task\HelperTask;
class HelperTaskTest extends TestCase {
protected HelperTask $task;
/**
* @return void
*/
protected function setUp(): void {
parent::setUp();
$this->loadPlugins(['Shim']);
$th... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Task/BehaviorTaskTest.php | tests/TestCase/Generator/Task/BehaviorTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use Cake\TestSuite\TestCase;
use IdeHelper\Generator\Task\BehaviorTask;
class BehaviorTaskTest extends TestCase {
protected BehaviorTask $task;
/**
* @return void
*/
protected function setUp(): void {
parent::setUp();
$this->loadPlugins(['Shim']);... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Task/TableAssociationTaskTest.php | tests/TestCase/Generator/Task/TableAssociationTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use Cake\TestSuite\TestCase;
use IdeHelper\Generator\Task\TableAssociationTask;
class TableAssociationTaskTest extends TestCase {
protected TableAssociationTask $task;
/**
* @return void
*/
protected function setUp(): void {
parent::setUp();
$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/TestCase/Generator/Task/TableFinderTaskTest.php | tests/TestCase/Generator/Task/TableFinderTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use Cake\Core\Configure;
use Cake\TestSuite\TestCase;
use IdeHelper\Generator\Task\TableFinderTask;
use Shim\TestSuite\TestTrait;
use TestApp\Model\Table\CustomFinderTable;
class TableFinderTaskTest extends TestCase {
use TestTrait;
protected TableFinderTas... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Task/LayoutTaskTest.php | tests/TestCase/Generator/Task/LayoutTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use Cake\TestSuite\TestCase;
use IdeHelper\Generator\Task\LayoutTask;
use Shim\TestSuite\TestTrait;
class LayoutTaskTest extends TestCase {
use TestTrait;
protected LayoutTask $task;
/**
* @return void
*/
protected function setUp(): void {
parent::... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Generator/Task/PluginTaskTest.php | tests/TestCase/Generator/Task/PluginTaskTest.php | <?php
namespace IdeHelper\Test\TestCase\Generator\Task;
use Cake\Core\Configure;
use Cake\TestSuite\TestCase;
use IdeHelper\Generator\Task\PluginTask;
class PluginTaskTest extends TestCase {
protected PluginTask $task;
/**
* @return void
*/
protected function setUp(): void {
parent::setUp();
$this->loa... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Command/GenerateCodeCompletionCommandTest.php | tests/TestCase/Command/GenerateCodeCompletionCommandTest.php | <?php
namespace IdeHelper\Test\TestCase\Command;
use Cake\Console\TestSuite\ConsoleIntegrationTestTrait;
use Cake\TestSuite\TestCase;
class GenerateCodeCompletionCommandTest extends TestCase {
use ConsoleIntegrationTestTrait;
protected array $files = [
TMP . 'CodeCompletionCakeController.php',
TMP . 'CodeCom... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Command/AnnotateCommandTest.php | tests/TestCase/Command/AnnotateCommandTest.php | <?php
namespace IdeHelper\Test\TestCase\Command;
use Cake\Console\TestSuite\ConsoleIntegrationTestTrait;
use Cake\Core\Configure;
use Cake\TestSuite\TestCase;
use IdeHelper\Command\AnnotateCommand;
use PHPUnit\Framework\Attributes\DataProvider;
class AnnotateCommandTest extends TestCase {
use ConsoleIntegrationTes... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Command/GeneratePhpstormMetaCommandTest.php | tests/TestCase/Command/GeneratePhpstormMetaCommandTest.php | <?php
namespace IdeHelper\Test\TestCase\Command;
use Cake\Console\ConsoleIo;
use Cake\Console\TestSuite\ConsoleIntegrationTestTrait;
use Cake\TestSuite\TestCase;
use IdeHelper\Command\GeneratePhpStormMetaCommand;
use PHPUnit\Framework\MockObject\MockObject;
use Shim\TestSuite\ConsoleOutput;
class GeneratePhpstormMet... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/Command/IlluminateCommandTest.php | tests/TestCase/Command/IlluminateCommandTest.php | <?php
namespace IdeHelper\Test\TestCase\Command;
use Cake\Console\TestSuite\ConsoleIntegrationTestTrait;
use Cake\TestSuite\TestCase;
class IlluminateCommandTest extends TestCase {
use ConsoleIntegrationTestTrait;
/**
* @return void
*/
public function testIlluminateDryRun() {
$this->loadPlugins(['IdeHelpe... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/tests/TestCase/View/Helper/DocBlockHelperTest.php | tests/TestCase/View/Helper/DocBlockHelperTest.php | <?php
declare(strict_types=1);
namespace IdeHelper\Test\TestCase\View\Helper;
use Bake\View\BakeView;
use Cake\Http\Response;
use Cake\Http\ServerRequest as Request;
use Cake\TestSuite\TestCase;
use IdeHelper\View\Helper\DocBlockHelper;
use PHPUnit\Framework\Attributes\CoversClass;
/**
* DocBlockHelper Test
*/
#[C... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
dereuromark/cakephp-ide-helper | https://github.com/dereuromark/cakephp-ide-helper/blob/864de81760a520a773775d8438f569930111bcd5/config/app.example.php | config/app.example.php | <?php
return [
// Copy the following over to your project one in ROOT/config/
'IdeHelper' => [
// Additional plugins that are not loaded, but should be included, use `-` prefix to exclude
'plugins' => [],
// Controller prefixes to check for
'prefixes' => [
'Admin',
],
// Template paths to skip
'skip... | php | MIT | 864de81760a520a773775d8438f569930111bcd5 | 2026-01-05T03:04:04.887555Z | false |
atk4/atk4 | https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/loader.php | loader.php | <?php
// This sets initial path for the include. Further includes will be initialized through PathFinder
set_include_path('.'.PATH_SEPARATOR.'.'.DIRECTORY_SEPARATOR.'lib'.PATH_SEPARATOR.dirname(__FILE__).'/lib');
if (version_compare(PHP_VERSION, '5.3.0') < 0) {
echo 'PHP 5.3.0 is required';
exit;
}
/**
* In t... | php | MIT | f12d77813a8b21ca1791f7f4517883fceab81386 | 2026-01-05T03:03:34.614070Z | false |
atk4/atk4 | https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/tools/phpcs/Sniffs/ATK4/ATK4CodingStandard.php | tools/phpcs/Sniffs/ATK4/ATK4CodingStandard.php | <?php
/**
* Agile Toolkit Coding Standard
*
* PHP version 5
*
* @category PHP
* @package None
* @author Romans Malinovskis <romans@agiletoolkit.org>
* @license AGPL http://www.gnu.org/licenses/agpl-3.0.html
* @version $Id: $
* @link http://agiletoolkit.org/
*/
if (class_exists('PHP_CodeSniffer_Stan... | php | MIT | f12d77813a8b21ca1791f7f4517883fceab81386 | 2026-01-05T03:03:34.614070Z | false |
atk4/atk4 | https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/tests/run_tests.php | tests/run_tests.php | <?php
// @todo Run tests for Travis
| php | MIT | f12d77813a8b21ca1791f7f4517883fceab81386 | 2026-01-05T03:03:34.614070Z | false |
atk4/atk4 | https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/tests/atk43_02_validator/01-basic.php | tests/atk43_02_validator/01-basic.php | <?php
class ATK_Test_Object extends AbstractController {
function prepare(){
return [$this->add('Controller_Validator')];
}
function test_init($v) {
return get_class($v);
}
function test_basic1($v) {
$v->is('name|len|>5?Name is too short');
$v->setSource(['name'=>... | php | MIT | f12d77813a8b21ca1791f7f4517883fceab81386 | 2026-01-05T03:03:34.614070Z | false |
atk4/atk4 | https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/tests/atk43_02_validator/02-rules.php | tests/atk43_02_validator/02-rules.php | <?php
class ATK_Test_Object extends AbstractController {
function prepare(){
return [$this->t = $this->add('Controller_Validator')];
}
function t($rule, $tests = [], $debug = false)
{
$this->t->is([$rule]);
if($debug)$this->t->debug();
$res = [];
foreach($te... | php | MIT | f12d77813a8b21ca1791f7f4517883fceab81386 | 2026-01-05T03:03:34.614070Z | false |
atk4/atk4 | https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/tests/atk43_model_relations/01json.php | tests/atk43_model_relations/01json.php | <?php
class loan_tester extends AbstractController {
function prepare(){
return [$this->add('Model')];
}
function test_create($m)
{
$m->containsOne(['test','json'=>true], 'MyModel');
return $m->getElement('test')->short_name;
}
function test_ref($m)
{
$m->con... | php | MIT | f12d77813a8b21ca1791f7f4517883fceab81386 | 2026-01-05T03:03:34.614070Z | false |
atk4/atk4 | https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/tests/atk43_model_relations/03many-json.php | tests/atk43_model_relations/03many-json.php | <?php
class loan_tester extends AbstractController {
function prepare(){
return [$this->add('Model')];
}
function test_create($m)
{
$m->containsOne(['test','json'=>true], 'MyModel');
return $m->getElement('test')->short_name;
}
function test_ref($m)
{
$m->con... | php | MIT | f12d77813a8b21ca1791f7f4517883fceab81386 | 2026-01-05T03:03:34.614070Z | false |
atk4/atk4 | https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/tests/atk43_model_relations/00basic.php | tests/atk43_model_relations/00basic.php | <?php
class loan_tester extends AbstractController {
function prepare(){
return [$this->add('Model')];
}
function test_create($m)
{
$m->containsOne('test', 'MyModel');
return $m->getElement('test')->short_name;
}
function test_ref($m)
{
$m->containsOne('test'... | php | MIT | f12d77813a8b21ca1791f7f4517883fceab81386 | 2026-01-05T03:03:34.614070Z | false |
atk4/atk4 | https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/tests/atk43_model_relations/02many-basic.php | tests/atk43_model_relations/02many-basic.php | <?php
class loan_tester extends AbstractController {
function prepare(){
return [$this->add('Model')];
}
function test_create($m)
{
$m->containsMany('test', 'MyModel');
return $m->getElement('test')->short_name;
}
function test_ref($m)
{
$m->containsMany('tes... | php | MIT | f12d77813a8b21ca1791f7f4517883fceab81386 | 2026-01-05T03:03:34.614070Z | false |
atk4/atk4 | https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/tests/atk43_01_core/02-views.php | tests/atk43_01_core/02-views.php | <?php
class Test_Views1 extends AbstractController {
function prepare(){
return array($this->app->add('MyView'));
}
function test_empty($t){
return $t->x;
}
function test_getHTML($t){
return $t->getHTML();
}
function test_template1($t){
$t = $this->app->add('... | php | MIT | f12d77813a8b21ca1791f7f4517883fceab81386 | 2026-01-05T03:03:34.614070Z | false |
atk4/atk4 | https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/tests/atk43_01_core/03-model1.php | tests/atk43_01_core/03-model1.php | <?php
class Test_Model1 extends AbstractController {
function prepare(){
return array($this->app->add('MyModel'));
}
function test_get($t){
return $t['surname'];
}
function test_set($t){
return $t->set('name', 'Bob')->get('name');
}
function test_save($t){
re... | php | MIT | f12d77813a8b21ca1791f7f4517883fceab81386 | 2026-01-05T03:03:34.614070Z | false |
atk4/atk4 | https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/tests/atk43_01_core/01-objects1.php | tests/atk43_01_core/01-objects1.php | <?php
class Test_Objects1 extends AbstractController {
public $proper_responses=array(
"Test_empty"=>'1',
"Test_clone"=>'1',
"Test_toString"=>'1',
"Test_destroy"=>'1',
"Test_newInstance"=>'1',
"Test_getElement"=>'1',
"Test_getElement1"=>'TrackedObject',
... | php | MIT | f12d77813a8b21ca1791f7f4517883fceab81386 | 2026-01-05T03:03:34.614070Z | false |
atk4/atk4 | https://github.com/atk4/atk4/blob/f12d77813a8b21ca1791f7f4517883fceab81386/tests/atk43_00_hello_world/00-generic-test-object.php | tests/atk43_00_hello_world/00-generic-test-object.php | <?php
/**
* Agile Toolkit can test any class defined here. You can extend
* from PHPUnit if you want.
*/
class SampleTest1 {
function test_hello() {
return 'World';
}
public $proper_responses=array(
"Test_hello"=>'World'
);
}
| php | MIT | f12d77813a8b21ca1791f7f4517883fceab81386 | 2026-01-05T03:03:34.614070Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.