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
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/database/migrations/2016_03_30_130419_create_lessons_table.php
database/migrations/2016_03_30_130419_create_lessons_table.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-05-01 10:39:19 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:50:32 */ use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreateLessonsTable extends Migration...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/database/migrations/2016_04_22_132415_create_billet_assignors_table.php
database/migrations/2016_04_22_132415_create_billet_assignors_table.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-05-12 07:48:33 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:50:36 */ use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreateBilletAssignorsTable extends M...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/database/migrations/2016_03_30_121511_create_configs_table.php
database/migrations/2016_03_30_121511_create_configs_table.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-04-15 03:21:07 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:50:27 */ use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreateConfigsTable extends Migration...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/database/migrations/2016_03_30_122815_create_classroom_student_table.php
database/migrations/2016_03_30_122815_create_classroom_student_table.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-04-23 10:30:16 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:50:31 */ use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreateClassroomStudentTable extends ...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/database/migrations/2016_03_30_121729_create_students_table.php
database/migrations/2016_03_30_121729_create_students_table.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-05-01 15:06:11 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:50:30 */ use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreateStudentsTable extends Migratio...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/database/migrations/2016_04_22_075726_create_billets_table.php
database/migrations/2016_04_22_075726_create_billets_table.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-04-25 06:13:21 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:50:36 */ use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreateBilletsTable extends Migration...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/database/migrations/2016_03_30_121524_create_matters_table.php
database/migrations/2016_03_30_121524_create_matters_table.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-05-01 10:38:49 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:50:28 */ use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreateMattersTable extends Migration...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/database/migrations/2016_04_01_233116_create_employees_table.php
database/migrations/2016_04_01_233116_create_employees_table.php
<?php /** * @Author: Leandro Henrique Reis <emtudo@gmail.com> * @Date: 2016-05-01 15:52:05 * @Last Modified by: Leandro Henrique Reis * @Last Modified time: 2016-06-04 19:50:35 */ use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreateEmployeesTable extends Migrati...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/resources/lang/en/passwords.php
resources/lang/en/passwords.php
<?php return [ /* |-------------------------------------------------------------------------- | Password Reset Language Lines |-------------------------------------------------------------------------- | | The following language lines are the default lines which match reasons | that are gi...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/resources/lang/en/pagination.php
resources/lang/en/pagination.php
<?php return [ /* |-------------------------------------------------------------------------- | Pagination Language Lines |-------------------------------------------------------------------------- | | The following language lines are used by the paginator library to build | the simple pag...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/resources/lang/en/validation.php
resources/lang/en/validation.php
<?php return [ /* |-------------------------------------------------------------------------- | Validation Language Lines |-------------------------------------------------------------------------- | | The following language lines contain the default error messages used by | the validator ...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/resources/lang/en/auth.php
resources/lang/en/auth.php
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Language Lines |-------------------------------------------------------------------------- | | The following language lines are used during authentication for various | messages t...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/resources/lang/pt-BR/passwords.php
resources/lang/pt-BR/passwords.php
<?php return [ /* |-------------------------------------------------------------------------- | Password Reminder Language Lines |-------------------------------------------------------------------------- | | The following language lines are the default lines which match reasons | that are...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/resources/lang/pt-BR/pagination.php
resources/lang/pt-BR/pagination.php
<?php return [ /* |-------------------------------------------------------------------------- | Pagination Language Lines |-------------------------------------------------------------------------- | | The following language lines are used by the paginator library to build | the simple pag...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/resources/lang/pt-BR/validation.php
resources/lang/pt-BR/validation.php
<?php return [ /* |-------------------------------------------------------------------------- | Validation Language Lines |-------------------------------------------------------------------------- | | The following language lines contain the default error messages used by | the validator ...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/resources/lang/pt-BR/auth.php
resources/lang/pt-BR/auth.php
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Language Lines |-------------------------------------------------------------------------- | | The following language lines are used during authentication for various | messages t...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/resources/views/index.php
resources/views/index.php
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>School</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <link rel="stylesheet" href="css/dist.css"> </head> ...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
resultsystems/school
https://github.com/resultsystems/school/blob/f2e07a8dae44d963f48d0a475f2003fa18237dda/resources/views/errors/503.blade.php
resources/views/errors/503.blade.php
<!DOCTYPE html> <html> <head> <title>Be right back.</title> <link href="https://fonts.googleapis.com/css?family=Lato:100" rel="stylesheet" type="text/css"> <style> html, body { height: 100%; } body { margin: 0; ...
php
MIT
f2e07a8dae44d963f48d0a475f2003fa18237dda
2026-01-05T02:34:20.170257Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/src/ClassMap.php
src/ClassMap.php
<?php declare(strict_types=1); /* * This file is part of Composer. * * (c) Nils Adermann <naderman@naderman.de> * Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Composer\ClassMa...
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/src/FileList.php
src/FileList.php
<?php declare(strict_types=1); /* * This file is part of Composer. * * (c) Nils Adermann <naderman@naderman.de> * Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Composer\ClassMa...
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/src/PhpFileCleaner.php
src/PhpFileCleaner.php
<?php declare(strict_types=1); /* * This file is part of Composer. * * (c) Nils Adermann <naderman@naderman.de> * Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Composer\ClassMa...
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/src/ClassMapGenerator.php
src/ClassMapGenerator.php
<?php declare(strict_types=1); /* * This file is part of Composer. * * (c) Nils Adermann <naderman@naderman.de> * Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /* * This file was initia...
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/src/PhpFileParser.php
src/PhpFileParser.php
<?php declare(strict_types=1); /* * This file is part of Composer. * * (c) Nils Adermann <naderman@naderman.de> * Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Composer\ClassMa...
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/PhpFileParserTest.php
tests/PhpFileParserTest.php
<?php declare(strict_types=1); /* * This file is part of Composer. * * (c) Nils Adermann <naderman@naderman.de> * Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /* * This file is copied ...
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/ClassMapGeneratorTest.php
tests/ClassMapGeneratorTest.php
<?php declare(strict_types=1); /* * This file is part of Composer. * * (c) Nils Adermann <naderman@naderman.de> * Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /* * This file is copied ...
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/Namespaced/Baz.php
tests/Fixtures/Namespaced/Baz.php
<?php namespace Namespaced; class Baz { public static $loaded = true; }
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/Namespaced/Foo.php
tests/Fixtures/Namespaced/Foo.php
<?php namespace Namespaced; class Foo { public static $loaded = true; }
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/hhvm3.3/Generics.php
tests/Fixtures/hhvm3.3/Generics.php
<?hh class GenericsClass<Tk, Tv> { }
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/hhvm3.3/NamespacedHackEnum.php
tests/Fixtures/hhvm3.3/NamespacedHackEnum.php
<?hh namespace Foo; enum BarEnum: string { HERP = 'DERP'; }
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/hhvm3.3/HackEnum.php
tests/Fixtures/hhvm3.3/HackEnum.php
<?hh enum FooEnum: int { HERP = 1; DERP = 2; }
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/classmap/LargeGap.php
tests/Fixtures/classmap/LargeGap.php
<?php namespace Foo; ?> public function a1() { var_dump(var_dump(null), var_dump(null), var_dump(null), var_dump(null), var_dump(null), var_dump(null), var_dump(null), var_dump(null), var_dump(null), var_dump(null), var_dump(null), var_dump(null), var_dump(null), var_dump(null), var_dump(null), var_dump(null)...
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
true
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/classmap/notAClass.php
tests/Fixtures/classmap/notAClass.php
<?php $a = new stdClass();
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/classmap/LongString.php
tests/Fixtures/classmap/LongString.php
<?php namespace ClassMap; class LongString { /** * @return array */ protected function _getRequestMock_multipart() { return array(
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
true
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/classmap/BackslashLineEndingString.php
tests/Fixtures/classmap/BackslashLineEndingString.php
<?php namespace Foo; class SlashedA { public function foo() { return sprintf("foo\ bar"); } } class SlashedB { public function bar() { print "baz"; } }
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/classmap/LargeClass.php
tests/Fixtures/classmap/LargeClass.php
<?php namespace Foo; class LargeClass { public function a1() { var_dump(var_dump(null), var_dump(null), var_dump(null), var_dump(null), var_dump(null), var_dump(null), var_dump(null), var_dump(null), var_dump(null), var_dump(null), var_dump(null), var_dump(null), var_dump(null), var_dump(null), var_dump(null), va...
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
true
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/classmap/StripNoise.php
tests/Fixtures/classmap/StripNoise.php
<?php namespace Foo; /** * class Fail { } */ class StripNoise { public function test_heredoc() { return <<<HEREDOC class FailHeredocBasic { } HEREDOC . <<< WHITESPACE class FailHeredocWhitespace { } WHITESPACE . <<< MARKERINTEXT In PHP < 7.3, the docblock marker could occur in the text as long...
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/classmap/multipleNs.php
tests/Fixtures/classmap/multipleNs.php
<?php namespace Alpha { class A {} class B {} } namespace { class A {} } namespace Be \ ta { class A {} class B {} }
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/classmap/Unicode.php
tests/Fixtures/classmap/Unicode.php
<?php namespace Unicode\↑; class ↑{ }
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/classmap/sameNsMultipleClasses.php
tests/Fixtures/classmap/sameNsMultipleClasses.php
<?php namespace Foo\Bar; class A {} class B {} $x = `/** unterminated comment`;
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/classmap/SomeClass.php
tests/Fixtures/classmap/SomeClass.php
<?php namespace ClassMap; class SomeClass extends SomeParent implements SomeInterface { }
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/classmap/MissingSpace.php
tests/Fixtures/classmap/MissingSpace.php
<?php namespace Foo; class MissingSpace{ }
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/classmap/ShortOpenTag.php
tests/Fixtures/classmap/ShortOpenTag.php
<? class ShortOpenTag {}
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/classmap/ShortOpenTagDocblock.php
tests/Fixtures/classmap/ShortOpenTagDocblock.php
<? /** * Some class description here. */ // other class name in comment class ShortOpenTagDocblock {}
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/classmap/SomeInterface.php
tests/Fixtures/classmap/SomeInterface.php
<?php namespace ClassMap; interface SomeInterface { }
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/classmap/SomeParent.php
tests/Fixtures/classmap/SomeParent.php
<?php namespace ClassMap; abstract class SomeParent { }
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/pcrebacktracelimit/StripNoise.php
tests/Fixtures/pcrebacktracelimit/StripNoise.php
<?php namespace Foo; /** * class StripNoise { } */ class StripNoise { public function test_heredoc() { return <<<HEREDOC class FailHeredocBasic { } HEREDOC . <<< WHITESPACE class FailHeredocWhitespace { } WHITESPACE . <<<"DOUBLEQUOTES" class FailHeredocDoubleQuotes { } DOUBLEQUOTES . <<< "DOUBLEQUO...
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/pcrebacktracelimit/VeryLongHeredoc.php
tests/Fixtures/pcrebacktracelimit/VeryLongHeredoc.php
<?php namespace Foo; /** * class VeryLongHeredoc { } */ class VeryLongHeredoc { public function test_heredoc() { return <<<HEREDOC Cupcake ipsum dolor sit amet. Gingerbread macaroon cake caramels tiramisu shortbread caramels. Lollipop toffee sugar plum liquorice tiramisu muffin. Sugar plum pie crois...
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
true
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/pcrebacktracelimit/VeryLongNowdoc.php
tests/Fixtures/pcrebacktracelimit/VeryLongNowdoc.php
<?php namespace Foo; /** * class VeryLongNowdoc { } */ class VeryLongNowdoc { public function test_nowdoc() { return <<<'NOWDOC' # I am the Doctor, and you are the Daleks! Saving the world with meals on wheels. No, I'll fix it. I'm good at fixing rot. Call me the Rotmeister. No, I'm the Doctor. Don...
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/pcrebacktracelimit/VeryLongPHP73Heredoc.php
tests/Fixtures/pcrebacktracelimit/VeryLongPHP73Heredoc.php
<?php namespace Foo; /** * class VeryLongPHP73Heredoc { } */ class VeryLongPHP73Heredoc { public function test_heredoc() { return <<<HEREDOCPHP73 Unwrap toilet paper Cat ipsum dolor sit amet, eat the rubberband but human is behind a closed door, emergency! abandoned! meeooowwww!!! and i ...
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/pcrebacktracelimit/VeryLongPHP73Nowdoc.php
tests/Fixtures/pcrebacktracelimit/VeryLongPHP73Nowdoc.php
<?php namespace Foo; /** * class VeryLongPHP73Nowdoc { } */ class VeryLongPHP73Nowdoc { public function test_nowdoc() { return <<<'NOWDOCPHP73' Leave her alone, you bastard. Ah. Whoa. Lynda, first of all, I'm not your answering service. Second of all, somebody named Greg or Craig called you ju...
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
true
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/php8.1/enum_namespaced.php
tests/Fixtures/php8.1/enum_namespaced.php
<?php namespace Foo\Bar; enum RolesClassLikeNamespacedEnum: string implements TestFoo { case Admin = 'Administrator'; case Guest = 'Guest'; case Moderator = 'Moderator'; }
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/php8.1/enum_backed.php
tests/Fixtures/php8.1/enum_backed.php
<?php EnUm RolesBackedEnum:string { case Admin = 'Administrator'; case Guest = 'Guest'; case Moderator = 'Moderator'; }
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/php8.1/enum_class_semantics.php
tests/Fixtures/php8.1/enum_class_semantics.php
<?php enum RolesClassLikeEnum: string implements TestFoo { case Admin = 'Administrator'; case Guest = 'Guest'; case Moderator = 'Moderator'; }
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/php8.1/enum_basic.php
tests/Fixtures/php8.1/enum_basic.php
<?php enum RolesBasicEnum { case ADMIN; case Guest; case Moderator; }
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/psrViolations/ClassWithCorrectNameSpace.php
tests/Fixtures/psrViolations/ClassWithCorrectNameSpace.php
<?php namespace ExpectedNamespace; use Foo\Baz\Enum as Bar; class ClassWithCorrectNameSpace {}
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/psrViolations/ClassWithoutNameSpace.php
tests/Fixtures/psrViolations/ClassWithoutNameSpace.php
<?php class ClassWithoutNameSpace {}
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/psrViolations/ClassWithIncorrectSubNamespace.php
tests/Fixtures/psrViolations/ClassWithIncorrectSubNamespace.php
<?php namespace ExpectedNamespace\UnexpectedSubNamespace; use Foo\Baz\Enum as Bar; CLass ClassWithIncorrectSubNamespace {}
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/psrViolations/ClassWithNameSpaceOutsideConfiguredScope.php
tests/Fixtures/psrViolations/ClassWithNameSpaceOutsideConfiguredScope.php
<?php namespace UnexpectedNamespace; class ClassWithNameSpaceOutsideConfiguredScope {}
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/beta/NamespaceCollision/A/B/Foo.php
tests/Fixtures/beta/NamespaceCollision/A/B/Foo.php
<?php namespace NamespaceCollision\A\B; class Foo { public static $loaded = true; }
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/beta/NamespaceCollision/A/B/Bar.php
tests/Fixtures/beta/NamespaceCollision/A/B/Bar.php
<?php namespace NamespaceCollision\A\B; class Bar { public static $loaded = true; }
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/beta/PrefixCollision/A/B/Foo.php
tests/Fixtures/beta/PrefixCollision/A/B/Foo.php
<?php class PrefixCollision_A_B_Foo { public static $loaded = true; }
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/beta/PrefixCollision/A/B/Bar.php
tests/Fixtures/beta/PrefixCollision/A/B/Bar.php
<?php class PrefixCollision_A_B_Bar { public static $loaded = true; }
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/Pearlike/Baz.php
tests/Fixtures/Pearlike/Baz.php
<?php class Pearlike_Baz { public static $loaded = true; }
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/Pearlike/Foo.php
tests/Fixtures/Pearlike/Foo.php
<?php class Pearlike_Foo { public static $loaded = true; }
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/Pearlike/Bar.php
tests/Fixtures/Pearlike/Bar.php
<?php class Pearlike_Bar { public static $loaded = true; }
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/php5.4/traits.php
tests/Fixtures/php5.4/traits.php
<?php namespace { trait TFoo { } class CFoo { use TFoo; } } namespace Foo { trait TBar { } interface IBar { } trait TFooBar { } class CBar implements IBar { use TBar, TFooBar; } }
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/template/template_3.php
tests/Fixtures/template/template_3.php
class leading { } <?php echo $queryClass ?> class inner { } <?php echo $defaultLocale ?> class trailing { }
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/template/template_1.php
tests/Fixtures/template/template_1.php
/* * class templateClass_1 * interface templateInterface_1 * trait temlpateTrait_1 */ <?php echo $code;
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/template/template_2.php
tests/Fixtures/template/template_2.php
/* * class templateClass_2 * interface templateInterface_2 * trait temlpateTrait_2 */ <?php echo $code; ?>
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
composer/class-map-generator
https://github.com/composer/class-map-generator/blob/55d1411d1c4fd867ca8585844cfc8e23dbc43682/tests/Fixtures/php7.0/anonclass.php
tests/Fixtures/php7.0/anonclass.php
<?php declare(strict_types = 1); namespace Dummy\Test; use Dummy\Common\TestCase; class AnonClassHolder extends TestCase { protected function getTest(): ClassAvailability { return new class extends ClassAvailability { }; } protected function getTest2(): ClassAvailability ...
php
MIT
55d1411d1c4fd867ca8585844cfc8e23dbc43682
2026-01-05T02:34:12.833498Z
false
phpspec/prophecy-phpunit
https://github.com/phpspec/prophecy-phpunit/blob/d3c28041d9390c9bca325a08c5b2993ac855bded/fixtures/NoClass.php
fixtures/NoClass.php
<?php namespace Prophecy\PhpUnit\Tests\Fixtures; use PHPUnit\Framework\TestCase; use Prophecy\PhpUnit\ProphecyTrait; class NoClass extends TestCase { use ProphecyTrait; public function testProphesizeWithoutArguments(): void { $prophecy = $this->prophesize()->reveal(); $this->ass...
php
MIT
d3c28041d9390c9bca325a08c5b2993ac855bded
2026-01-05T02:34:34.575367Z
false
phpspec/prophecy-phpunit
https://github.com/phpspec/prophecy-phpunit/blob/d3c28041d9390c9bca325a08c5b2993ac855bded/fixtures/SpyFailure.php
fixtures/SpyFailure.php
<?php namespace Prophecy\PhpUnit\Tests\Fixtures; use PHPUnit\Framework\TestCase; use Prophecy\PhpUnit\ProphecyTrait; class SpyFailure extends TestCase { use ProphecyTrait; public function testMethod() { $prophecy = $this->prophesize('DateTime'); $prophecy->reveal(); $prophecy->...
php
MIT
d3c28041d9390c9bca325a08c5b2993ac855bded
2026-01-05T02:34:34.575367Z
false
phpspec/prophecy-phpunit
https://github.com/phpspec/prophecy-phpunit/blob/d3c28041d9390c9bca325a08c5b2993ac855bded/fixtures/WrongCall.php
fixtures/WrongCall.php
<?php namespace Prophecy\PhpUnit\Tests\Fixtures; use PHPUnit\Framework\TestCase; use Prophecy\PhpUnit\ProphecyTrait; class WrongCall extends TestCase { use ProphecyTrait; public function testMethod() { $prophecy = $this->prophesize('stdClass'); $prophecy->talk()->willReturn('Hello world...
php
MIT
d3c28041d9390c9bca325a08c5b2993ac855bded
2026-01-05T02:34:34.575367Z
false
phpspec/prophecy-phpunit
https://github.com/phpspec/prophecy-phpunit/blob/d3c28041d9390c9bca325a08c5b2993ac855bded/fixtures/NoProphecy.php
fixtures/NoProphecy.php
<?php namespace Prophecy\PhpUnit\Tests\Fixtures; use PHPUnit\Framework\TestCase; use Prophecy\PhpUnit\ProphecyTrait; class NoProphecy extends TestCase { use ProphecyTrait; public function testMethod() { // to avoid warnings/risky status $this->assertTrue(true); } }
php
MIT
d3c28041d9390c9bca325a08c5b2993ac855bded
2026-01-05T02:34:34.575367Z
false
phpspec/prophecy-phpunit
https://github.com/phpspec/prophecy-phpunit/blob/d3c28041d9390c9bca325a08c5b2993ac855bded/fixtures/Success.php
fixtures/Success.php
<?php namespace Prophecy\PhpUnit\Tests\Fixtures; use PHPUnit\Framework\TestCase; use Prophecy\PhpUnit\ProphecyTrait; class Success extends TestCase { use ProphecyTrait; public function testMethod() { $prophecy = $this->prophesize('DateTime'); $prophecy->format('Y-m-d')->shouldBeCalled()...
php
MIT
d3c28041d9390c9bca325a08c5b2993ac855bded
2026-01-05T02:34:34.575367Z
false
phpspec/prophecy-phpunit
https://github.com/phpspec/prophecy-phpunit/blob/d3c28041d9390c9bca325a08c5b2993ac855bded/fixtures/MockFailure.php
fixtures/MockFailure.php
<?php namespace Prophecy\PhpUnit\Tests\Fixtures; use PHPUnit\Framework\TestCase; use Prophecy\PhpUnit\ProphecyTrait; class MockFailure extends TestCase { use ProphecyTrait; public function testMethod() { $prophecy = $this->prophesize('DateTime'); $prophecy->format('Y-m-d')->shouldBeCall...
php
MIT
d3c28041d9390c9bca325a08c5b2993ac855bded
2026-01-05T02:34:34.575367Z
false
phpspec/prophecy-phpunit
https://github.com/phpspec/prophecy-phpunit/blob/d3c28041d9390c9bca325a08c5b2993ac855bded/src/ProphecyTrait.php
src/ProphecyTrait.php
<?php declare(strict_types=1); namespace Prophecy\PhpUnit; use PHPUnit\Framework\AssertionFailedError; use PHPUnit\Framework\Attributes\After; use PHPUnit\Framework\Attributes\PostCondition; use PHPUnit\Framework\TestCase; use Prophecy\Exception\Doubler\DoubleException; use Prophecy\Exception\Doubler\InterfaceNotFoun...
php
MIT
d3c28041d9390c9bca325a08c5b2993ac855bded
2026-01-05T02:34:34.575367Z
false
phpspec/prophecy-phpunit
https://github.com/phpspec/prophecy-phpunit/blob/d3c28041d9390c9bca325a08c5b2993ac855bded/tests/xdebug_filter.php
tests/xdebug_filter.php
<?php if (function_exists('xdebug_set_filter')) { xdebug_set_filter( XDEBUG_FILTER_CODE_COVERAGE, XDEBUG_PATH_INCLUDE, [ dirname(__DIR__) . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR ] ); xdebug_set_filter( XDEBUG_FILTER_CODE_COVERAGE, XDEBUG_PATH_EXCLUDE, ...
php
MIT
d3c28041d9390c9bca325a08c5b2993ac855bded
2026-01-05T02:34:34.575367Z
false
phpspec/prophecy-phpunit
https://github.com/phpspec/prophecy-phpunit/blob/d3c28041d9390c9bca325a08c5b2993ac855bded/tests/run_test.php
tests/run_test.php
<?php namespace Prophecy\PhpUnit\Tests; use PHPUnit\TextUI\Application; use PHPUnit\TextUI\Command; require_once __DIR__ . '/xdebug_filter.php'; require_once dirname(__DIR__) . '/vendor/autoload.php'; function runTest(string $fixtureName): void { $filename = dirname(__DIR__) . '/fixtures/' . $fixtureName . '.ph...
php
MIT
d3c28041d9390c9bca325a08c5b2993ac855bded
2026-01-05T02:34:34.575367Z
false
phpspec/prophecy-phpunit
https://github.com/phpspec/prophecy-phpunit/blob/d3c28041d9390c9bca325a08c5b2993ac855bded/phpstan-fixtures/ExampleUsage.php
phpstan-fixtures/ExampleUsage.php
<?php namespace Prophecy\PhpUnit\Tests\PhpstanFixtures; use PHPUnit\Framework\TestCase; use Prophecy\PhpUnit\ProphecyTrait; use Prophecy\Prophecy\ObjectProphecy; class ExampleUsage extends TestCase { use ProphecyTrait; public function testExplicitClass(): void { $prophecy = $this->prophesize(\Da...
php
MIT
d3c28041d9390c9bca325a08c5b2993ac855bded
2026-01-05T02:34:34.575367Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/.php_cs.dist.php
.php_cs.dist.php
<?php $finder = Symfony\Component\Finder\Finder::create() ->in([ __DIR__.'/src', __DIR__.'/tests', ]) ->name('*.php') ->notName('*.blade.php') ->ignoreDotFiles(true) ->ignoreVCS(true); return (new PhpCsFixer\Config()) ->setRules([ '@PSR12' => true, 'array_sy...
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/src/Helper.php
src/Helper.php
<?php namespace Qirolab\Laravel\Reactions; class Helper { /** * Retrieve User's model class name. * * @return string */ public static function resolveReactsModel() { $userModel = config('reactions.reacts_model'); if ($userModel) { return $userModel; ...
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/src/ReactionsServiceProvider.php
src/ReactionsServiceProvider.php
<?php namespace Qirolab\Laravel\Reactions; use Illuminate\Support\ServiceProvider; class ReactionsServiceProvider extends ServiceProvider { /** * Bootstrap the application events. * * @return void */ public function boot() { $this->loadMigrations(); if ($this->app->run...
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/src/Exceptions/InvalidReactionUser.php
src/Exceptions/InvalidReactionUser.php
<?php namespace Qirolab\Laravel\Reactions\Exceptions; use Exception; class InvalidReactionUser extends Exception { /** * Reaction user not defined. * * @return static */ public static function notDefined() { return new static('Reaction user not defined.'); } /** ...
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/src/Traits/Reactable.php
src/Traits/Reactable.php
<?php namespace Qirolab\Laravel\Reactions\Traits; use Illuminate\Database\Eloquent\Builder; use Qirolab\Laravel\Reactions\Contracts\ReactsInterface; use Qirolab\Laravel\Reactions\Exceptions\InvalidReactionUser; use Qirolab\Laravel\Reactions\Helper; use Qirolab\Laravel\Reactions\Models\Reaction; trait Reactable { ...
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/src/Traits/Reacts.php
src/Traits/Reacts.php
<?php namespace Qirolab\Laravel\Reactions\Traits; use Qirolab\Laravel\Reactions\Contracts\ReactableInterface; use Qirolab\Laravel\Reactions\Events\OnDeleteReaction; use Qirolab\Laravel\Reactions\Events\OnReaction; use Qirolab\Laravel\Reactions\Helper; use Qirolab\Laravel\Reactions\Models\Reaction; trait Reacts { ...
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/src/Contracts/ReactableInterface.php
src/Contracts/ReactableInterface.php
<?php namespace Qirolab\Laravel\Reactions\Contracts; interface ReactableInterface { /** * Collection of reactions. * * @return \Illuminate\Database\Eloquent\Relations\MorphMany */ public function reactions(); }
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/src/Contracts/ReactsInterface.php
src/Contracts/ReactsInterface.php
<?php namespace Qirolab\Laravel\Reactions\Contracts; interface ReactsInterface { /** * Reaction on reactable model. * * @param ReactableInterface $reactable * @param mixed $type * @return void */ public function reactTo(ReactableInterface $reactable, $type); }
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/src/Models/Reaction.php
src/Models/Reaction.php
<?php namespace Qirolab\Laravel\Reactions\Models; use Illuminate\Database\Eloquent\Model; use Qirolab\Laravel\Reactions\Helper; class Reaction extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'reactions'; /** * The attributes that ...
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/src/Events/OnDeleteReaction.php
src/Events/OnDeleteReaction.php
<?php namespace Qirolab\Laravel\Reactions\Events; use Qirolab\Laravel\Reactions\Contracts\ReactableInterface; use Qirolab\Laravel\Reactions\Contracts\ReactsInterface; use Qirolab\Laravel\Reactions\Models\Reaction; class OnDeleteReaction { /** * The reactable model. * * @var ReactableInterface ...
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/src/Events/OnReaction.php
src/Events/OnReaction.php
<?php namespace Qirolab\Laravel\Reactions\Events; use Qirolab\Laravel\Reactions\Contracts\ReactableInterface; use Qirolab\Laravel\Reactions\Contracts\ReactsInterface; use Qirolab\Laravel\Reactions\Models\Reaction; class OnReaction { /** * The reactable model. * * @var ReactableInterface */ ...
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/tests/TestCase.php
tests/TestCase.php
<?php namespace Qirolab\Tests\Laravel\Reactions; use Faker\Factory; use Faker\Generator; use Illuminate\Database\Eloquent\Collection; use Illuminate\Support\Facades\File; use Orchestra\Testbench\TestCase as Orchestra; use Qirolab\Tests\Laravel\Reactions\Stubs\Models\Article; use Qirolab\Tests\Laravel\Reactions\Stubs\...
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/tests/Unit/ReactableTest.php
tests/Unit/ReactableTest.php
<?php namespace Qirolab\Tests\Laravel\Reactions\Unit; use Qirolab\Laravel\Reactions\Models\Reaction; use Qirolab\Tests\Laravel\Reactions\TestCase; class ReactableTest extends TestCase { /** @test */ public function it_can_react_by_current_user() { $article = $this->createArticle(); $user...
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/tests/Unit/InvalidReactionUserExceptionTest.php
tests/Unit/InvalidReactionUserExceptionTest.php
<?php namespace Qirolab\Tests\Laravel\Reactions\Unit; use Qirolab\Laravel\Reactions\Exceptions\InvalidReactionUser; use Qirolab\Tests\Laravel\Reactions\Stubs\Models\Article; use Qirolab\Tests\Laravel\Reactions\TestCase; class InvalidReactionUserExceptionTest extends TestCase { /** @test */ public function it...
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/tests/Unit/ReactableReactionEventTest.php
tests/Unit/ReactableReactionEventTest.php
<?php namespace Qirolab\Tests\Laravel\Reactions\Unit; use Illuminate\Support\Facades\Event; use Qirolab\Laravel\Reactions\Events\OnDeleteReaction; use Qirolab\Laravel\Reactions\Events\OnReaction; use Qirolab\Laravel\Reactions\Helper; use Qirolab\Tests\Laravel\Reactions\TestCase; class ReactableReactionEventTest exte...
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/tests/Unit/ReactsModelTest.php
tests/Unit/ReactsModelTest.php
<?php namespace Qirolab\Tests\Laravel\Reactions\Unit; use Qirolab\Laravel\Reactions\Models\Reaction; use Qirolab\Tests\Laravel\Reactions\TestCase; class ReactsModelTest extends TestCase { /** @test */ public function it_can_react_to_reactable_model() { $article = $this->createArticle(); ...
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/tests/Unit/ReactionModelTest.php
tests/Unit/ReactionModelTest.php
<?php namespace Qirolab\Tests\Laravel\Reactions\Unit; use Qirolab\Laravel\Reactions\Contracts\ReactsInterface; use Qirolab\Laravel\Reactions\Models\Reaction; use Qirolab\Tests\Laravel\Reactions\Stubs\Models\Article; use Qirolab\Tests\Laravel\Reactions\TestCase; class ReactionModelTest extends TestCase { /** @tes...
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/tests/Unit/ReactionsTableConfigTest.php
tests/Unit/ReactionsTableConfigTest.php
<?php namespace Qirolab\Tests\Laravel\Reactions\Unit; use Qirolab\Laravel\Reactions\Models\Reaction; use Qirolab\Tests\Laravel\Reactions\TestCase; class ReactionsTableConfigTest extends TestCase { protected function getPackageProviders($app) { $app['config']->set('reactions.table_name', 'test-reactio...
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/tests/Unit/ReactableScopeTest.php
tests/Unit/ReactableScopeTest.php
<?php namespace Qirolab\Tests\Laravel\Reactions\Unit; use Qirolab\Tests\Laravel\Reactions\Stubs\Models\Article; use Qirolab\Tests\Laravel\Reactions\TestCase; class ReactableScopeTest extends TestCase { /** @test */ public function it_can_get_where_reacted_by_current_user() { $user = $this->create...
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/tests/Unit/ReactsProfileModelTest.php
tests/Unit/ReactsProfileModelTest.php
<?php namespace Qirolab\Tests\Laravel\Reactions\Unit; use Qirolab\Laravel\Reactions\Models\Reaction; use Qirolab\Tests\Laravel\Reactions\Stubs\Models\Profile; use Qirolab\Tests\Laravel\Reactions\TestCase; class ReactsProfileModelTest extends TestCase { /** * Actions to be performed on PHPUnit start. * ...
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false