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
FriendsOfCake/search
https://github.com/FriendsOfCake/search/blob/93313221b1d87b7f80bf32a349ce7b825cc85c5f/tests/TestApp/Model/Table/ArticlesTable.php
tests/TestApp/Model/Table/ArticlesTable.php
<?php declare(strict_types=1); namespace Search\Test\TestApp\Model\Table; use Cake\ORM\Table; /** * @mixin \Search\Model\Behavior\SearchBehavior */ class ArticlesTable extends Table { public function initialize(array $config): void { $this->addBehavior('Search.Search'); } }
php
MIT
93313221b1d87b7f80bf32a349ce7b825cc85c5f
2026-01-05T03:52:36.233895Z
false
FriendsOfCake/search
https://github.com/FriendsOfCake/search/blob/93313221b1d87b7f80bf32a349ce7b825cc85c5f/tests/TestApp/Model/Table/CustomSearchManagerTable.php
tests/TestApp/Model/Table/CustomSearchManagerTable.php
<?php declare(strict_types=1); namespace Search\Test\TestApp\Model\Table; use Cake\ORM\Table; use Search\Manager; /** * Table with custom searchManager() method to test that it gets called. * * @mixin \Search\Model\Behavior\SearchBehavior */ class CustomSearchManagerTable extends Table { /** * Tracks wh...
php
MIT
93313221b1d87b7f80bf32a349ce7b825cc85c5f
2026-01-05T03:52:36.233895Z
false
FriendsOfCake/search
https://github.com/FriendsOfCake/search/blob/93313221b1d87b7f80bf32a349ce7b825cc85c5f/tests/TestApp/Model/Table/SectionsTable.php
tests/TestApp/Model/Table/SectionsTable.php
<?php declare(strict_types=1); namespace Search\Test\TestApp\Model\Table; use Cake\ORM\Table; /** * @mixin \Search\Model\Behavior\SearchBehavior */ class SectionsTable extends Table { public function initialize(array $config): void { $this->addBehavior('Search.Search'); $this->searchManage...
php
MIT
93313221b1d87b7f80bf32a349ce7b825cc85c5f
2026-01-05T03:52:36.233895Z
false
FriendsOfCake/search
https://github.com/FriendsOfCake/search/blob/93313221b1d87b7f80bf32a349ce7b825cc85c5f/tests/TestApp/Model/Table/FinderArticlesTable.php
tests/TestApp/Model/Table/FinderArticlesTable.php
<?php declare(strict_types=1); namespace Search\Test\TestApp\Model\Table; use Cake\ORM\Query\SelectQuery; use Cake\ORM\Table; /** * @mixin \Search\Model\Behavior\SearchBehavior */ class FinderArticlesTable extends Table { /** * @param array $config * @return void */ public function initializ...
php
MIT
93313221b1d87b7f80bf32a349ce7b825cc85c5f
2026-01-05T03:52:36.233895Z
false
FriendsOfCake/search
https://github.com/FriendsOfCake/search/blob/93313221b1d87b7f80bf32a349ce7b825cc85c5f/tests/TestApp/Model/Endpoint/ArticlesEndpoint.php
tests/TestApp/Model/Endpoint/ArticlesEndpoint.php
<?php declare(strict_types=1); namespace Search\Test\TestApp\Model\Endpoint; use Muffin\Webservice\Model\Endpoint; use Search\Model\SearchTrait; class ArticlesEndpoint extends Endpoint { use SearchTrait; public function initialize(array $config): void { $this->searchManager() ->value...
php
MIT
93313221b1d87b7f80bf32a349ce7b825cc85c5f
2026-01-05T03:52:36.233895Z
false
FriendsOfCake/search
https://github.com/FriendsOfCake/search/blob/93313221b1d87b7f80bf32a349ce7b825cc85c5f/tests/TestApp/Form/SearchForm.php
tests/TestApp/Form/SearchForm.php
<?php declare(strict_types=1); namespace Search\Test\TestApp\Form; use Cake\Form\Form; use Cake\Validation\Validator; class SearchForm extends Form { public function validationDefault(Validator $validator): Validator { $validator ->allowEmptyString('q') ->minLength('q', 3, 'Se...
php
MIT
93313221b1d87b7f80bf32a349ce7b825cc85c5f
2026-01-05T03:52:36.233895Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/src/Arara/Process/Process.php
src/Arara/Process/Process.php
<?php /* * This file is part of the Arara\Process package. * * Copyright (c) Henrique Moody <henriquemoody@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arara\Process; use Arara\Process\Exception\RuntimeEx...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/src/Arara/Process/Pool.php
src/Arara/Process/Pool.php
<?php /* * This file is part of the Arara\Process package. * * Copyright (c) Henrique Moody <henriquemoody@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arara\Process; use Arara\Process\Exception\RuntimeEx...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/src/Arara/Process/Context.php
src/Arara/Process/Context.php
<?php /* * This file is part of the Arara\Process package. * * Copyright (c) Henrique Moody <henriquemoody@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arara\Process; use Exception; /** * Used as data c...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/src/Arara/Process/Control.php
src/Arara/Process/Control.php
<?php /* * This file is part of the Arara\Process package. * * Copyright (c) Henrique Moody <henriquemoody@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arara\Process; use Arara\Process\Control\Info; use A...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/src/Arara/Process/Pidfile.php
src/Arara/Process/Pidfile.php
<?php /* * This file is part of the Arara\Process package. * * Copyright (c) Henrique Moody <henriquemoody@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arara\Process; use Arara\Process\Exception\InvalidAr...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/src/Arara/Process/Child.php
src/Arara/Process/Child.php
<?php /* * This file is part of the Arara\Process package. * * Copyright (c) Henrique Moody <henriquemoody@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arara\Process; use Arara\Process\Action\Action; use ...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/src/Arara/Process/Action/Command.php
src/Arara/Process/Action/Command.php
<?php /* * This file is part of the Arara\Process package. * * Copyright (c) Henrique Moody <henriquemoody@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arara\Process\Action; use Arara\Process\Context; use...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/src/Arara/Process/Action/Action.php
src/Arara/Process/Action/Action.php
<?php /* * This file is part of the Arara\Process package. * * Copyright (c) Henrique Moody <henriquemoody@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arara\Process\Action; use Arara\Process\Context; use...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/src/Arara/Process/Action/Daemon.php
src/Arara/Process/Action/Daemon.php
<?php /* * This file is part of the Arara\Process package. * * Copyright (c) Henrique Moody <henriquemoody@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arara\Process\Action; use Arara\Process\Context; use...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/src/Arara/Process/Action/Callback.php
src/Arara/Process/Action/Callback.php
<?php /* * This file is part of the Arara\Process package. * * Copyright (c) Henrique Moody <henriquemoody@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arara\Process\Action; use Arara\Process\Context; use...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/src/Arara/Process/Handler/SignalAlarm.php
src/Arara/Process/Handler/SignalAlarm.php
<?php /* * This file is part of the Arara\Process package. * * Copyright (c) Henrique Moody <henriquemoody@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arara\Process\Handler; use Arara\Process\Action\Acti...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/src/Arara/Process/Handler/SignalAbstract.php
src/Arara/Process/Handler/SignalAbstract.php
<?php /* * This file is part of the Arara\Process package. * * Copyright (c) Henrique Moody <henriquemoody@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arara\Process\Handler; use Arara\Process\Control; /...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/src/Arara/Process/Handler/SignalChild.php
src/Arara/Process/Handler/SignalChild.php
<?php /* * This file is part of the Arara\Process package. * * Copyright (c) Henrique Moody <henriquemoody@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arara\Process\Handler; /** * Handles the SIGCHLD si...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/src/Arara/Process/Handler/SignalInterrupt.php
src/Arara/Process/Handler/SignalInterrupt.php
<?php /* * This file is part of the Arara\Process package. * * Copyright (c) Henrique Moody <henriquemoody@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arara\Process\Handler; /** * Handles the SIGINT sig...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/src/Arara/Process/Handler/SignalTerminate.php
src/Arara/Process/Handler/SignalTerminate.php
<?php /* * This file is part of the Arara\Process package. * * Copyright (c) Henrique Moody <henriquemoody@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arara\Process\Handler; /** * Handles the SIGTERM si...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/src/Arara/Process/Handler/ErrorException.php
src/Arara/Process/Handler/ErrorException.php
<?php /* * This file is part of the Arara\Process package. * * Copyright (c) Henrique Moody <henriquemoody@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arara\Process\Handler; use Arara\Process\Exception\E...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/src/Arara/Process/Handler/SignalQuit.php
src/Arara/Process/Handler/SignalQuit.php
<?php /* * This file is part of the Arara\Process package. * * Copyright (c) Henrique Moody <henriquemoody@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arara\Process\Handler; /** * Handles the SIGQUIT si...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/src/Arara/Process/Exception/Exception.php
src/Arara/Process/Exception/Exception.php
<?php /* * This file is part of the Arara\Process package. * * Copyright (c) Henrique Moody <henriquemoody@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arara\Process\Exception; /** * Base exception marke...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/src/Arara/Process/Exception/LogicException.php
src/Arara/Process/Exception/LogicException.php
<?php /* * This file is part of the Arara\Process package. * * Copyright (c) Henrique Moody <henriquemoody@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arara\Process\Exception; /** * {@inheritdoc} * * ...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/src/Arara/Process/Exception/RuntimeException.php
src/Arara/Process/Exception/RuntimeException.php
<?php /* * This file is part of the Arara\Process package. * * Copyright (c) Henrique Moody <henriquemoody@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arara\Process\Exception; /** * {@inheritdoc} * * ...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/src/Arara/Process/Exception/UnexpectedValueException.php
src/Arara/Process/Exception/UnexpectedValueException.php
<?php /* * This file is part of the Arara\Process package. * * Copyright (c) Henrique Moody <henriquemoody@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arara\Process\Exception; /** * {@inheritdoc} * * ...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/src/Arara/Process/Exception/InvalidArgumentException.php
src/Arara/Process/Exception/InvalidArgumentException.php
<?php /* * This file is part of the Arara\Process package. * * Copyright (c) Henrique Moody <henriquemoody@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arara\Process\Exception; /** * {@inheritdoc} * * ...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/src/Arara/Process/Exception/ErrorException.php
src/Arara/Process/Exception/ErrorException.php
<?php /* * This file is part of the Arara\Process package. * * Copyright (c) Henrique Moody <henriquemoody@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arara\Process\Exception; /** * {@inheritdoc} * * ...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/src/Arara/Process/Control/Signal.php
src/Arara/Process/Control/Signal.php
<?php /* * This file is part of the Arara\Process package. * * Copyright (c) Henrique Moody <henriquemoody@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arara\Process\Control; use Arara\Process\Exception\I...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/src/Arara/Process/Control/Info.php
src/Arara/Process/Control/Info.php
<?php /* * This file is part of the Arara\Process package. * * Copyright (c) Henrique Moody <henriquemoody@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arara\Process\Control; use Arara\Process\Exception\I...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/src/Arara/Process/Control/Status.php
src/Arara/Process/Control/Status.php
<?php /* * This file is part of the Arara\Process package. * * Copyright (c) Henrique Moody <henriquemoody@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arara\Process\Control; use Arara\Process\Exception\I...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/tests/src/Arara/Test/TestCase.php
tests/src/Arara/Test/TestCase.php
<?php namespace Arara\Test; use PHPUnit_Framework_Exception; use PHPUnit_Framework_TestCase; use ReflectionProperty; class TestCase extends PHPUnit_Framework_TestCase { /** * Array of overwritten functions. * * @var array */ protected $overwrites = []; /** * {@inheritdoc} *...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/tests/src/Arara/Test/TestAction.php
tests/src/Arara/Test/TestAction.php
<?php namespace Arara\Test; use Arara\Process\Action\Action; use Arara\Process\Context; use Arara\Process\Control; /** * Action for tests purposes. */ class TestAction implements Action { const ACTION = 2; const EVENTS = 4; /** * Action ID. * * @var int */ protected $actionId; ...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/tests/unit/Arara/Process/PoolTest.php
tests/unit/Arara/Process/PoolTest.php
<?php namespace Arara\Process; use Arara\Test\TestCase; /** * @covers Arara\Process\Pool */ class PoolTest extends TestCase { public function testShouldDefineProcessLimitOnConstructor() { $pool = new Pool(42); $this->assertAttributeSame(42, 'processLimit', $pool); } public functio...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/tests/unit/Arara/Process/ChildTest.php
tests/unit/Arara/Process/ChildTest.php
<?php namespace Arara\Process; use Arara\Process\Action\Action; use Arara\Test\TestCase; /** * @covers Arara\Process\Child */ class ChildTest extends TestCase { private $control; private $context; private $action; protected function init() { $this->action = $this ->getMockB...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/tests/unit/Arara/Process/ControlTest.php
tests/unit/Arara/Process/ControlTest.php
<?php namespace Arara\Process; use Arara\Test\TestCase; /** * @covers Arara\Process\Control */ class ControlTest extends TestCase { public function testShouldExcecuteACommand() { $actualCommand = null; $expectedCommand = '/bin/date'; $this->overwrite( 'pcntl_exec', ...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/tests/unit/Arara/Process/PidfileTest.php
tests/unit/Arara/Process/PidfileTest.php
<?php namespace Arara\Process; use Arara\Test\TestCase; /** * @covers Arara\Process\Pidfile */ class PidfileTest extends TestCase { protected function init() { $this->overwrite( 'fopen', function () { return 'a resource'; } ); $th...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/tests/unit/Arara/Process/ContextTest.php
tests/unit/Arara/Process/ContextTest.php
<?php namespace Arara\Process; use Arara\Test\TestCase; /** * @covers Arara\Process\Context */ class ContextTest extends TestCase { public function testShouldDefineAndReturnAPropertyValue() { $value = 9172971; $context = new Context(); $context->foo = 9172971; $this->asser...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/tests/unit/Arara/Process/Action/DaemonTest.php
tests/unit/Arara/Process/Action/DaemonTest.php
<?php namespace Arara\Process\Action; use Arara\Process\Context; use Arara\Process\Control; use Arara\Process\Pidfile; use Arara\Test\TestCase; /** * @covers Arara\Process\Action\Daemon */ class DaemonTest extends TestCase { protected function init() { $this->overwrite( 'fopen', ...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/tests/unit/Arara/Process/Action/CommandTest.php
tests/unit/Arara/Process/Action/CommandTest.php
<?php namespace Arara\Process\Action; use Arara\Process\Context; use Arara\Process\Control; use Arara\Test\TestCase; /** * @covers Arara\Process\Action\Command */ class CommandTest extends TestCase { protected $defaultExecCallback; protected function init() { $this->defaultExecCallback = funct...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/tests/unit/Arara/Process/Action/CallbackTest.php
tests/unit/Arara/Process/Action/CallbackTest.php
<?php namespace Arara\Process\Action; use Arara\Process\Context; use Arara\Process\Control; use Arara\Test\TestCase; /** * @covers Arara\Process\Action\Callback */ class CallbackTest extends TestCase { public function testShouldDefineACallbackActionOnConstructor() { $action = function () {}; ...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/tests/unit/Arara/Process/Handler/ErrorExceptionTest.php
tests/unit/Arara/Process/Handler/ErrorExceptionTest.php
<?php namespace Arara\Process\Handler; use Arara\Test\TestCase; /** * @covers Arara\Process\Handler\ErrorException */ class ErrorExceptionTest extends TestCase { /** * @expectedException Arara\Process\Exception\ErrorException * @expectedExceptionMessage Some message */ public function testSh...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/tests/unit/Arara/Process/Handler/SignalInterruptTest.php
tests/unit/Arara/Process/Handler/SignalInterruptTest.php
<?php namespace Arara\Process\Handler; use Arara\Test\TestCase; /** * @covers Arara\Process\Handler\SignalInterrupt */ class SignalInterruptTest extends TestCase { public function testShouldExitAs3() { $control = $this ->getMockBuilder('Arara\Process\Control') ->setMethods([...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/tests/unit/Arara/Process/Handler/SignalAbstractTest.php
tests/unit/Arara/Process/Handler/SignalAbstractTest.php
<?php namespace Arara\Process\Handler; use Arara\Process\Control; use Arara\Test\TestCase; /** * @covers Arara\Process\Handler\SignalAbstract */ class SignalAbstractTest extends TestCase { public function testShouldAcceptAnInstanceOfControlOnConstructor() { $control = new Control(); $handle...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/tests/unit/Arara/Process/Handler/SignalChildTest.php
tests/unit/Arara/Process/Handler/SignalChildTest.php
<?php namespace Arara\Process\Handler; use Arara\Test\TestCase; /** * @covers Arara\Process\Handler\SignalChild */ class SignalChildTest extends TestCase { public function testShouldWaitChildrenFinish() { $control = $this ->getMockBuilder('Arara\Process\Control') ->setMethod...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/tests/unit/Arara/Process/Handler/SignalTerminateTest.php
tests/unit/Arara/Process/Handler/SignalTerminateTest.php
<?php namespace Arara\Process\Handler; use Arara\Test\TestCase; /** * @covers Arara\Process\Handler\SignalTerminate */ class SignalTerminateTest extends TestCase { public function testShouldExitAs0() { $control = $this ->getMockBuilder('Arara\Process\Control') ->setMethods([...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/tests/unit/Arara/Process/Handler/SignalQuitTest.php
tests/unit/Arara/Process/Handler/SignalQuitTest.php
<?php namespace Arara\Process\Handler; use Arara\Test\TestCase; /** * @covers Arara\Process\Handler\SignalQuit */ class SignalQuitTest extends TestCase { public function testShouldExitAs4() { $control = $this ->getMockBuilder('Arara\Process\Control') ->setMethods(['quit']) ...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/tests/unit/Arara/Process/Handler/SignalAlarmTest.php
tests/unit/Arara/Process/Handler/SignalAlarmTest.php
<?php namespace Arara\Process\Handler; use Arara\Process\Action\Action; use Arara\Process\Context; use Arara\Test\TestCase; /** * @covers Arara\Process\Handler\SignalAlarm */ class SignalAlarmTest extends TestCase { const TIMESTAMP = 1230192830; protected function init() { $timestamp = self::T...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/tests/unit/Arara/Process/Control/StatusTest.php
tests/unit/Arara/Process/Control/StatusTest.php
<?php namespace Arara\Process\Control; use Arara\Test\TestCase; /** * @covers Arara\Process\Control\Status */ class StatusTest extends TestCase { public function testShouldAcceptAnWaitStatusOnConstructor() { $waitStatus = 0; $status = new Status($waitStatus); $this->assertAttribut...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/tests/unit/Arara/Process/Control/SignalTest.php
tests/unit/Arara/Process/Control/SignalTest.php
<?php namespace Arara\Process\Control; use Arara\Test\TestCase; /** * @covers Arara\Process\Control\Signal */ class SignalTest extends TestCase { public function testShouldDefineAProcessAlarm() { $actualAlarm = null; $expectedAlarm = 990; $this->overwrite( 'pcntl_alarm'...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/tests/unit/Arara/Process/Control/InfoTest.php
tests/unit/Arara/Process/Control/InfoTest.php
<?php namespace Arara\Process\Control; use Arara\Test\TestCase; /** * @covers Arara\Process\Control\Info */ class InfoTest extends TestCase { public function testShouldReturnCurrentProcessId() { $expectedProcessId = 123456; $this->overwrite( 'posix_getpid', function...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/examples/child-event-timeout.php
examples/child-event-timeout.php
<?php declare (ticks = 1); require_once __DIR__.'/../vendor/autoload.php'; use Arara\Process\Action\Action; use Arara\Process\Action\Callback; use Arara\Process\Child; use Arara\Process\Context; use Arara\Process\Control; $action = new Callback(function (Control $control) { echo 'This child process will sleep f...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/examples/child-status.php
examples/child-status.php
<?php declare (ticks = 1); require_once __DIR__.'/../vendor/autoload.php'; use Arara\Process\Action\Callback; use Arara\Process\Child; use Arara\Process\Control; $control = new Control(); $child = new Child( new Callback( function (Control $control) { echo 'Child process is '.$control->info(...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/examples/child-event-success.php
examples/child-event-success.php
<?php declare (ticks = 1); require_once __DIR__.'/../vendor/autoload.php'; use Arara\Process\Action\Action; use Arara\Process\Action\Callback; use Arara\Process\Child; use Arara\Process\Context; use Arara\Process\Control; $action = new Callback(function (Control $control) { echo 'This is the process action of P...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/examples/child-event-start.php
examples/child-event-start.php
<?php declare (ticks = 1); require_once __DIR__.'/../vendor/autoload.php'; use Arara\Process\Action\Action; use Arara\Process\Action\Callback; use Arara\Process\Child; use Arara\Process\Context; use Arara\Process\Control; $action = new Callback(function (Control $control) { echo 'This is the process action of P...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/examples/child-event-error.php
examples/child-event-error.php
<?php declare (ticks = 1); require_once __DIR__.'/../vendor/autoload.php'; use Arara\Process\Action\Action; use Arara\Process\Action\Callback; use Arara\Process\Child; use Arara\Process\Context; use Arara\Process\Control; $action = new Callback(function () { trim(['A PHP error occours']); }); $action->bind(Acti...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/examples/daemon.php
examples/daemon.php
<?php declare (ticks = 1); require_once __DIR__.'/../vendor/autoload.php'; use Arara\Process\Action\Daemon; use Arara\Process\Child; use Arara\Process\Context; use Arara\Process\Control; $daemon = new Daemon( function (Daemon $daemon, Control $control) { openlog($daemon->getOption('name'), LOG_PID | LOG...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/examples/child-event-finish.php
examples/child-event-finish.php
<?php declare (ticks = 1); require_once __DIR__.'/../vendor/autoload.php'; use Arara\Process\Action\Action; use Arara\Process\Action\Callback; use Arara\Process\Child; use Arara\Process\Context; use Arara\Process\Control; $action = new Callback(function (Control $control) { echo 'This is the process action of P...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/examples/child-kill.php
examples/child-kill.php
<?php declare (ticks = 1); require_once __DIR__.'/../vendor/autoload.php'; use Arara\Process\Action\Callback; use Arara\Process\Child; use Arara\Process\Control; $control = new Control(); $child = new Child( new Callback( function (Control $control) { echo 'This child process will sleep for ...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/examples/child-event-failure.php
examples/child-event-failure.php
<?php declare (ticks = 1); require_once __DIR__.'/../vendor/autoload.php'; use Arara\Process\Action\Action; use Arara\Process\Action\Callback; use Arara\Process\Child; use Arara\Process\Context; use Arara\Process\Control; $action = new Callback(function () { throw new DomainException('An exception was thrown', ...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/examples/pool-kill.php
examples/pool-kill.php
<?php declare (ticks = 1); require_once __DIR__.'/../vendor/autoload.php'; use Arara\Process\Child; use Arara\Process\Control; use Arara\Process\Pool; use Arara\Test\TestAction; $control = new Control(); $pool = new Pool(10); $pool->start(); for ($index = 1; $index <= 9; $index++) { if (! $pool->isRunning()) { ...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/examples/child-terminate.php
examples/child-terminate.php
<?php declare (ticks = 1); require_once __DIR__.'/../vendor/autoload.php'; use Arara\Process\Action\Callback; use Arara\Process\Child; use Arara\Process\Control; $control = new Control(); $child = new Child( new Callback( function (Control $control) { echo 'This child process will sleep for ...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/examples/pool-static.php
examples/pool-static.php
<?php declare (ticks = 1); require_once __DIR__.'/../vendor/autoload.php'; use Arara\Process\Child; use Arara\Process\Control; use Arara\Process\Pool; use Arara\Test\TestAction; $control = new Control(); $pool = new Pool(3); $pool->attach(new Child(new TestAction(1), $control)); $pool->attach(new Child(new TestActi...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/examples/pidfile.php
examples/pidfile.php
<?php declare (ticks = 1); require_once __DIR__.'/../vendor/autoload.php'; use Arara\Process\Control; use Arara\Process\Pidfile; $control = new Control(); $pidfile = new Pidfile($control, 'myapp', __DIR__); try { $pidfile->initialize(); echo 'Will sleep for 10 seconds, try to run it in another terminal'.PH...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/examples/pool-of-pools.php
examples/pool-of-pools.php
<?php declare (ticks = 1); require_once __DIR__.'/../vendor/autoload.php'; use Arara\Process\Child; use Arara\Process\Control; use Arara\Process\Pool; use Arara\Test\TestAction; $control = new Control(); $pool1 = new Pool(1); $pool1->attach(new Child(new TestAction('11'), $control)); $pool1->attach(new Child(new Te...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/examples/pool-dynamic.php
examples/pool-dynamic.php
<?php declare (ticks = 1); require_once __DIR__.'/../vendor/autoload.php'; use Arara\Process\Child; use Arara\Process\Control; use Arara\Process\Pool; use Arara\Test\TestAction; $control = new Control(); $pool = new Pool(3); $pool->start(); for ($index = 1; $index <= 9; $index++) { if (! $pool->isRunning()) { ...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/examples/child-wait.php
examples/child-wait.php
<?php declare (ticks = 1); require_once __DIR__.'/../vendor/autoload.php'; use Arara\Process\Action\Callback; use Arara\Process\Child; use Arara\Process\Control; $child = new Child( new Callback( function (Control $control) { echo 'This child process will sleep for 0.5 seconds'.PHP_EOL; ...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/examples/child-start.php
examples/child-start.php
<?php declare (ticks = 1); require_once __DIR__.'/../vendor/autoload.php'; use Arara\Process\Action\Callback; use Arara\Process\Child; use Arara\Process\Control; $control = new Control(); $child = new Child( new Callback( function (Control $control) { echo 'Child process is '.$control->info(...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/examples/pool-wait.php
examples/pool-wait.php
<?php declare (ticks = 1); require_once __DIR__.'/../vendor/autoload.php'; use Arara\Process\Child; use Arara\Process\Control; use Arara\Process\Pool; use Arara\Test\TestAction; $control = new Control(); $pool = new Pool(6); $pool->start(); for ($index = 1; $index <= 3; $index++) { if (! $pool->isRunning()) { ...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/examples/pool-terminate.php
examples/pool-terminate.php
<?php declare (ticks = 1); require_once __DIR__.'/../vendor/autoload.php'; use Arara\Process\Child; use Arara\Process\Control; use Arara\Process\Pool; use Arara\Test\TestAction; $control = new Control(); $pool = new Pool(10); $pool->start(); for ($index = 1; $index <= 9; $index++) { if (! $pool->isRunning()) { ...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
Arara/Process
https://github.com/Arara/Process/blob/98d42b5b466870f93eb0c85d62b1d7a1241040c3/examples/command.php
examples/command.php
<?php declare (ticks = 1); require_once __DIR__.'/../vendor/autoload.php'; use Arara\Process\Action\Command; use Arara\Process\Child; use Arara\Process\Context; use Arara\Process\Control; $command = new Command('find', [__DIR__, '-name' => '*', '-type' => 'f']); $command->bind(Command::EVENT_FINISH, function (Conte...
php
MIT
98d42b5b466870f93eb0c85d62b1d7a1241040c3
2026-01-05T03:52:45.594139Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/ecs.php
ecs.php
<?php declare(strict_types=1); use craft\ecs\SetList; use Symplify\EasyCodingStandard\Config\ECSConfig; return static function(ECSConfig $ecsConfig): void { $ecsConfig->parallel(); $ecsConfig->paths([ __DIR__ . '/src', __FILE__, ]); $ecsConfig->sets([SetList::CRAFT_CMS_4]); };
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/Plugin.php
src/Plugin.php
<?php namespace spicyweb\embeddedassets; use Craft; use craft\base\Element; use craft\base\Model; use craft\base\Plugin as BasePlugin; use craft\elements\Asset; use craft\events\DefineAssetThumbUrlEvent; use craft\events\DefineAttributeHtmlEvent; use craft\events\DefineGqlTypeFieldsEvent; use craft\events\DefineMenuI...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/Controller.php
src/Controller.php
<?php namespace spicyweb\embeddedassets; use Craft; use craft\db\Table; use craft\helpers\Db; use craft\helpers\Json; use craft\models\VolumeFolder; use craft\web\Controller as BaseController; use spicyweb\embeddedassets\assets\Preview as PreviewAsset; use spicyweb\embeddedassets\errors\NotWhitelistedException; use s...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/Service.php
src/Service.php
<?php namespace spicyweb\embeddedassets; use Craft; use craft\elements\Asset; use craft\helpers\Assets; use craft\helpers\FileHelper; use craft\helpers\Html as HtmlHelper; use craft\helpers\Json; use craft\helpers\StringHelper; use craft\helpers\Template; use craft\helpers\UrlHelper; use craft\models\VolumeFolder; us...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/Variable.php
src/Variable.php
<?php namespace spicyweb\embeddedassets; use Craft; use craft\elements\Asset; use spicyweb\embeddedassets\models\EmbeddedAsset; use spicyweb\embeddedassets\Plugin as EmbeddedAssets; /** * Class Variable * * @package spicyweb\embeddedassets * @author Spicy Web <craft@spicyweb.com.au> * @author Benjamin Fleming ...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/jobs/InstagramRefreshCheck.php
src/jobs/InstagramRefreshCheck.php
<?php namespace spicyweb\embeddedassets\jobs; use Craft; use craft\elements\Asset; use craft\queue\BaseJob; use spicyweb\embeddedassets\models\EmbeddedAsset; use spicyweb\embeddedassets\Plugin as EmbeddedAssets; /** * A job to check if an Instagram embedded asset needs to be auto-refreshed. * * @package spicyweb\...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/assetpreviews/EmbeddedAsset.php
src/assetpreviews/EmbeddedAsset.php
<?php namespace spicyweb\embeddedassets\assetpreviews; use Craft; use craft\base\AssetPreviewHandler; use spicyweb\embeddedassets\Plugin as EmbeddedAssets; /** * Asset preview handler for Embedded Assets. * * @package spicyweb\embeddedassets\assetpreviews * @author Spicy Web <plugins@spicyweb.com.au> * @since 2...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/gql/interfaces/EmbeddedAsset.php
src/gql/interfaces/EmbeddedAsset.php
<?php namespace spicyweb\embeddedassets\gql\interfaces; use Craft; use craft\gql\base\InterfaceType; use craft\gql\base\SingularTypeInterface; use craft\gql\GqlEntityRegistry; use GraphQL\Type\Definition\InterfaceType as GqlInterfaceType; use GraphQL\Type\Definition\Type; use spicyweb\embeddedassets\gql\types\generat...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/gql/types/EmbeddedAsset.php
src/gql/types/EmbeddedAsset.php
<?php namespace spicyweb\embeddedassets\gql\types; use craft\gql\base\ObjectType; use GraphQL\Type\Definition\ResolveInfo; use spicyweb\embeddedassets\gql\interfaces\EmbeddedAsset as EmbeddedAssetInterface; /** * Embedded Asset GraphQL type for Craft CMS Pro. * * @author Spicy Web <plugins@spicyweb.com.au> * @si...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/gql/types/generators/EmbeddedAssetType.php
src/gql/types/generators/EmbeddedAssetType.php
<?php namespace spicyweb\embeddedassets\gql\types\generators; use Craft; use craft\gql\base\GeneratorInterface; use craft\gql\base\SingleGeneratorInterface; use craft\gql\GqlEntityRegistry; use spicyweb\embeddedassets\gql\interfaces\EmbeddedAsset as EmbeddedAssetInterface; use spicyweb\embeddedassets\gql\types\Embedd...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/gql/resolvers/EmbeddedAsset.php
src/gql/resolvers/EmbeddedAsset.php
<?php namespace spicyweb\embeddedassets\gql\resolvers; use craft\elements\Asset as AssetElement; use craft\gql\resolvers\elements\Asset as AssetResolver; use craft\helpers\Gql as GqlHelper; use GraphQL\Type\Definition\ResolveInfo; use spicyweb\embeddedassets\Plugin as EmbeddedAssets; /** * Embedded Asset GraphQL re...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/errors/RefreshException.php
src/errors/RefreshException.php
<?php namespace spicyweb\embeddedassets\errors; use yii\base\Exception; /** * RefreshException represents an exception when refreshing an embedded asset. * * @package spicyweb\embeddedassets\errors * @author Spicy Web <plugins@spicyweb.com.au> * @since 3.0.2 */ class RefreshException extends Exception { /*...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/errors/NotWhitelistedException.php
src/errors/NotWhitelistedException.php
<?php namespace spicyweb\embeddedassets\errors; use spicyweb\embeddedassets\models\EmbeddedAsset; use yii\base\Exception; /** * NotWhitelistedException represents an exception when the `preventNonWhitelistedUploads` setting is enabled and an * uploaded embedded asset's provider isn't whitelisted. * * @package sp...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/validators/Parameter.php
src/validators/Parameter.php
<?php namespace spicyweb\embeddedassets\validators; use yii\validators\Validator; /** * Class Parameter * * Validates an array matching the following signature (*required): * [ * 'param' -> string * * 'value' -> string * * ] * * @package spicyweb\embeddedassets\validators * @author Spicy Web <craft...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/validators/TwigMarkup.php
src/validators/TwigMarkup.php
<?php namespace spicyweb\embeddedassets\validators; use Twig\Markup; use yii\validators\Validator; /** * Class TwigMarkup * * Validates an instance of \Twig\Markup * * @package spicyweb\embeddedassets\validators * @author Spicy Web <craft@spicyweb.com.au> * @author Benjamin Fleming * @since 1.0.0 */ class T...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/translations/en/embeddedassets.php
src/translations/en/embeddedassets.php
<?php return [ 'An {api} key to be used as a fallback data provider.' => 'An {api} key to be used as a fallback data provider.', 'As a security measure embed codes will not be shown.' => 'As a security measure embed codes will not be shown.', 'Could not retrieve embed information.' => 'Could not retrieve e...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/translations/fr/embeddedassets.php
src/translations/fr/embeddedassets.php
<?php return [ 'An {api} key to be used as a fallback data provider.' => 'Une clef {api} à utiliser comme fournisseur de données de secours.', 'As a security measure embed codes will not be shown.' => 'Par mesure de sécurité, les codes d’intégration ne seront pas affichés.', 'Could not retrieve embed infor...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/console/controllers/RefreshController.php
src/console/controllers/RefreshController.php
<?php namespace spicyweb\embeddedassets\console\controllers; use craft\console\Controller; use craft\elements\Asset; use spicyweb\embeddedassets\errors\RefreshException; use spicyweb\embeddedassets\Plugin as EmbeddedAssets; use yii\console\ExitCode; use yii\helpers\Console; /** * Actions for batch-refreshing embedd...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/actions/Refresh.php
src/actions/Refresh.php
<?php namespace spicyweb\embeddedassets\actions; use Craft; use craft\base\ElementAction; use craft\elements\Asset; use craft\elements\db\ElementQueryInterface; use spicyweb\embeddedassets\errors\RefreshException; use spicyweb\embeddedassets\Plugin as EmbeddedAssets; /** * Refresh element action. * * @package spi...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/models/Settings.php
src/models/Settings.php
<?php namespace spicyweb\embeddedassets\models; use craft\base\Model; use craft\behaviors\EnvAttributeParserBehavior; use craft\validators\StringValidator; use spicyweb\embeddedassets\validators\Parameter as ParameterValidator; /** * Class Settings * * @package spicyweb\embeddedassets\models * @author Spicy Web...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/models/EmbeddedAsset.php
src/models/EmbeddedAsset.php
<?php namespace spicyweb\embeddedassets\models; use Craft; use craft\base\Model; use craft\helpers\Html as HtmlHelper; use craft\helpers\Template; use craft\validators\StringValidator; use craft\validators\UrlValidator; use JsonSerializable; use spicyweb\embeddedassets\Plugin as EmbeddedAssets; use spicyweb\embedded...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/assets/Main.php
src/assets/Main.php
<?php namespace spicyweb\embeddedassets\assets; if (false) { /** * Class Main * * @package spicyweb\embeddedassets\assets * @author Spicy Web <plugins@spicyweb.com.au> * @author Benjamin Fleming * @since 1.0.0 * @deprecated in 3.1.0 - use \spicyweb\embeddedassets\assets\main\Mai...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/assets/Preview.php
src/assets/Preview.php
<?php namespace spicyweb\embeddedassets\assets; if (false) { /** * Class Preview * * @package spicyweb\embeddedassets\assets * @author Spicy Web <plugins@spicyweb.com.au> * @author Benjamin Fleming * @since 1.0.0 * @deprecated in 3.1.0 - use \spicyweb\embeddedassets\assets\previ...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/assets/preview/PreviewAsset.php
src/assets/preview/PreviewAsset.php
<?php namespace spicyweb\embeddedassets\assets\preview; use craft\web\AssetBundle; /** * Class PreviewAsset * * @package spicyweb\embeddedassets\assets\preview * @author Spicy Web <plugins@spicyweb.com.au> * @since 3.1.0 */ class PreviewAsset extends AssetBundle { public function init(): void { ...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/assets/main/MainAsset.php
src/assets/main/MainAsset.php
<?php namespace spicyweb\embeddedassets\assets\main; use craft\web\AssetBundle; use craft\web\assets\cp\CpAsset; /** * Class MainAsset * * @package spicyweb\embeddedassets\assets\main * @author Spicy Web <plugins@spicyweb.com.au> * @since 3.1.0 */ class MainAsset extends AssetBundle { public function init(...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/events/BeforeRequestEvent.php
src/events/BeforeRequestEvent.php
<?php namespace spicyweb\embeddedassets\events; use yii\base\Event; /** * Event for modifying the Embed adapters and settings before making a request for an embedded asset. * * @author Spicy Web <plugins@spicyweb.com.au> * @since 4.0.0 */ class BeforeRequestEvent extends Event { /** * @var string ...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/adapters/default/Extractor.php
src/adapters/default/Extractor.php
<?php namespace spicyweb\embeddedassets\adapters\default; use Embed\Extractor as BaseExtractor; use spicyweb\embeddedassets\adapters\default\detectors\Title; use spicyweb\embeddedassets\adapters\default\detectors\Type; /** * Default Embed extractor class for Embedded Assets. * * @package spicyweb\embeddedassets\a...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false
spicywebau/craft-embedded-assets
https://github.com/spicywebau/craft-embedded-assets/blob/f8dfeeb62ba5b1087474d754524e49b471710434/src/adapters/default/detectors/Type.php
src/adapters/default/detectors/Type.php
<?php namespace spicyweb\embeddedassets\adapters\default\detectors; use Embed\Detectors\Detector; /** * Default Embed type detector class for Embedded Assets. * * @package spicyweb\embeddedassets\adapters\default\detectors * @author Spicy Web <plugins@spicyweb.com.au> * @since 4.0.0 */ class Type extends Detec...
php
MIT
f8dfeeb62ba5b1087474d754524e49b471710434
2026-01-05T03:53:00.198924Z
false