├── univs ├── vendor │ ├── atoum │ │ └── atoum │ │ │ ├── scripts │ │ │ ├── git │ │ │ │ ├── .tag │ │ │ │ └── pusher.php │ │ │ ├── runner.php │ │ │ ├── tagger.php │ │ │ ├── builder.php │ │ │ ├── compiler.php │ │ │ ├── coverage.php │ │ │ ├── treemap.php │ │ │ └── phar │ │ │ │ ├── generator.php │ │ │ │ └── resources │ │ │ │ └── stub.php │ │ │ ├── tests │ │ │ ├── units │ │ │ │ ├── classes │ │ │ │ │ ├── scripts │ │ │ │ │ │ └── git │ │ │ │ │ │ │ └── .tag │ │ │ │ │ ├── test │ │ │ │ │ │ ├── engine.php │ │ │ │ │ │ ├── generator │ │ │ │ │ │ │ └── exception.php │ │ │ │ │ │ └── assertion │ │ │ │ │ │ │ └── manager │ │ │ │ │ │ │ └── exception.php │ │ │ │ │ ├── php │ │ │ │ │ │ ├── exception.php │ │ │ │ │ │ ├── tokenizer │ │ │ │ │ │ │ └── iterators │ │ │ │ │ │ │ │ ├── phpConstant.php │ │ │ │ │ │ │ │ ├── phpProperty.php │ │ │ │ │ │ │ │ ├── phpImportation.php │ │ │ │ │ │ │ │ ├── phpMethod.php │ │ │ │ │ │ │ │ ├── phpNamespace.php │ │ │ │ │ │ │ │ └── phpArgument.php │ │ │ │ │ │ ├── mocker │ │ │ │ │ │ │ └── adapter.php │ │ │ │ │ │ └── extension.php │ │ │ │ │ ├── fs │ │ │ │ │ │ └── path │ │ │ │ │ │ │ └── exception.php │ │ │ │ │ ├── cli │ │ │ │ │ │ └── command │ │ │ │ │ │ │ └── exception.php │ │ │ │ │ ├── asserters │ │ │ │ │ │ ├── mock │ │ │ │ │ │ │ └── exceptions │ │ │ │ │ │ │ │ └── logic.php │ │ │ │ │ │ ├── adapter │ │ │ │ │ │ │ ├── exceptions │ │ │ │ │ │ │ │ └── logic.php │ │ │ │ │ │ │ └── call │ │ │ │ │ │ │ │ ├── exceptions │ │ │ │ │ │ │ │ └── logic.php │ │ │ │ │ │ │ │ └── manager │ │ │ │ │ │ │ │ └── exception.php │ │ │ │ │ │ └── testedClass.php │ │ │ │ │ ├── reports │ │ │ │ │ │ ├── asynchronous │ │ │ │ │ │ │ ├── coveralls │ │ │ │ │ │ │ │ └── resources │ │ │ │ │ │ │ │ │ ├── 1.json │ │ │ │ │ │ │ │ │ ├── 2.json │ │ │ │ │ │ │ │ │ ├── 3.json │ │ │ │ │ │ │ │ │ ├── 2-windows.json │ │ │ │ │ │ │ │ │ └── 3-windows.json │ │ │ │ │ │ │ ├── xunit │ │ │ │ │ │ │ │ └── resources │ │ │ │ │ │ │ │ │ ├── 1.xml │ │ │ │ │ │ │ │ │ ├── 2.xml │ │ │ │ │ │ │ │ │ └── 3.xml │ │ │ │ │ │ │ ├── vim.php │ │ │ │ │ │ │ └── clover │ │ │ │ │ │ │ │ └── resources │ │ │ │ │ │ │ │ └── 1.xml │ │ │ │ │ │ └── realtime │ │ │ │ │ │ │ └── tap.php │ │ │ │ │ ├── mock │ │ │ │ │ │ ├── generator │ │ │ │ │ │ │ └── method │ │ │ │ │ │ │ │ └── exception.php │ │ │ │ │ │ ├── streams │ │ │ │ │ │ │ └── fs │ │ │ │ │ │ │ │ └── controller │ │ │ │ │ │ │ │ └── factory.php │ │ │ │ │ │ └── stream │ │ │ │ │ │ │ └── invoker.php │ │ │ │ │ ├── exceptions │ │ │ │ │ │ ├── logic.php │ │ │ │ │ │ ├── runtime.php │ │ │ │ │ │ ├── logic │ │ │ │ │ │ │ ├── badMethodCall.php │ │ │ │ │ │ │ └── invalidArgument.php │ │ │ │ │ │ └── runtime │ │ │ │ │ │ │ └── unexpectedValue.php │ │ │ │ │ ├── adapter.php │ │ │ │ │ ├── report │ │ │ │ │ │ ├── field.php │ │ │ │ │ │ ├── field │ │ │ │ │ │ │ └── decorator │ │ │ │ │ │ │ │ └── travis │ │ │ │ │ │ │ │ └── fold.php │ │ │ │ │ │ └── fields │ │ │ │ │ │ │ └── runner │ │ │ │ │ │ │ ├── tap │ │ │ │ │ │ │ └── plan.php │ │ │ │ │ │ │ └── tests │ │ │ │ │ │ │ ├── blank.php │ │ │ │ │ │ │ └── skipped.php │ │ │ │ │ ├── writer │ │ │ │ │ │ └── decorators │ │ │ │ │ │ │ ├── trim.php │ │ │ │ │ │ │ ├── rtrim.php │ │ │ │ │ │ │ └── eol.php │ │ │ │ │ └── reader.php │ │ │ │ ├── .atoum.php │ │ │ │ ├── runner.php │ │ │ │ └── asserters │ │ │ │ │ └── template │ │ │ │ │ └── parser │ │ │ │ │ └── exception.php │ │ │ └── functionals │ │ │ │ ├── runner.php │ │ │ │ ├── test │ │ │ │ └── functional.php │ │ │ │ └── classes │ │ │ │ └── test │ │ │ │ ├── data │ │ │ │ └── providers │ │ │ │ │ └── mock.php │ │ │ │ └── annotations │ │ │ │ └── ignore.php │ │ │ ├── resources │ │ │ ├── configurations │ │ │ │ ├── .gitignore │ │ │ │ ├── runner │ │ │ │ │ ├── vim.php.dist │ │ │ │ │ ├── cli.php.dist │ │ │ │ │ ├── bootstrap.php.dist │ │ │ │ │ ├── builder.php.dist │ │ │ │ │ ├── logo.php.dist │ │ │ │ │ ├── xunit.php.dist │ │ │ │ │ ├── clover.php.dist │ │ │ │ │ └── coverage.php.dist │ │ │ │ ├── builder │ │ │ │ │ └── config.php.dist │ │ │ │ └── ci │ │ │ │ │ ├── .appveyor.php.dist │ │ │ │ │ └── .travis.php.dist │ │ │ ├── images │ │ │ │ ├── logo.png │ │ │ │ └── logo │ │ │ │ │ ├── failure.png │ │ │ │ │ └── success.png │ │ │ ├── templates │ │ │ │ └── test │ │ │ │ │ └── generator │ │ │ │ │ ├── testedClass.php │ │ │ │ │ └── testClass.php │ │ │ └── phing │ │ │ │ └── build.xml │ │ │ ├── .gitignore │ │ │ ├── ABOUT │ │ │ ├── classes │ │ │ ├── exception.php │ │ │ ├── writers │ │ │ │ ├── http │ │ │ │ │ └── exception.php │ │ │ │ └── std │ │ │ │ │ ├── err.php │ │ │ │ │ └── out.php │ │ │ ├── scripts │ │ │ │ ├── runner │ │ │ │ │ └── looper.php │ │ │ │ └── treemap │ │ │ │ │ ├── analyzer.php │ │ │ │ │ └── analyzers │ │ │ │ │ ├── size.php │ │ │ │ │ ├── sloc.php │ │ │ │ │ └── token.php │ │ │ ├── writer │ │ │ │ ├── decorator.php │ │ │ │ └── decorators │ │ │ │ │ ├── trim.php │ │ │ │ │ ├── eol.php │ │ │ │ │ ├── rtrim.php │ │ │ │ │ └── prompt.php │ │ │ ├── php │ │ │ │ ├── tokenizer │ │ │ │ │ ├── iterators │ │ │ │ │ │ ├── phpMethod.php │ │ │ │ │ │ ├── phpConstant.php │ │ │ │ │ │ ├── phpProperty.php │ │ │ │ │ │ ├── phpImportation.php │ │ │ │ │ │ ├── phpDefaultValue.php │ │ │ │ │ │ ├── phpArgument.php │ │ │ │ │ │ ├── phpFunction.php │ │ │ │ │ │ └── phpScript.php │ │ │ │ │ └── iterator │ │ │ │ │ │ └── value.php │ │ │ │ ├── exception.php │ │ │ │ ├── mocker │ │ │ │ │ ├── exception.php │ │ │ │ │ ├── exceptions │ │ │ │ │ │ └── constant.php │ │ │ │ │ ├── adapter │ │ │ │ │ │ └── invoker.php │ │ │ │ │ ├── adapter.php │ │ │ │ │ └── constant.php │ │ │ │ ├── extension.php │ │ │ │ └── mocker.php │ │ │ ├── observer.php │ │ │ ├── observers │ │ │ │ ├── test.php │ │ │ │ └── runner.php │ │ │ ├── fs │ │ │ │ └── path │ │ │ │ │ ├── exception.php │ │ │ │ │ └── factory.php │ │ │ ├── includer │ │ │ │ └── exception.php │ │ │ ├── cli │ │ │ │ ├── command │ │ │ │ │ └── exception.php │ │ │ │ ├── clear.php │ │ │ │ └── prompt.php │ │ │ ├── test │ │ │ │ ├── exceptions │ │ │ │ │ ├── stop.php │ │ │ │ │ ├── runtime.php │ │ │ │ │ └── skip.php │ │ │ │ ├── generator │ │ │ │ │ └── exception.php │ │ │ │ ├── assertion │ │ │ │ │ └── manager │ │ │ │ │ │ └── exception.php │ │ │ │ ├── data │ │ │ │ │ ├── provider.php │ │ │ │ │ ├── provider │ │ │ │ │ │ ├── object │ │ │ │ │ │ │ └── exceptions │ │ │ │ │ │ │ │ ├── mandatoryArgument.php │ │ │ │ │ │ │ │ └── privateConstructor.php │ │ │ │ │ │ └── aggregator.php │ │ │ │ │ └── set.php │ │ │ │ ├── engine.php │ │ │ │ ├── adapter │ │ │ │ │ ├── calls │ │ │ │ │ │ └── decorator.php │ │ │ │ │ ├── call │ │ │ │ │ │ ├── decorators │ │ │ │ │ │ │ └── addClass.php │ │ │ │ │ │ └── decorator.php │ │ │ │ │ └── storage.php │ │ │ │ ├── mock │ │ │ │ │ └── generator.php │ │ │ │ ├── engines │ │ │ │ │ ├── isolate.php │ │ │ │ │ └── inline.php │ │ │ │ └── asserter │ │ │ │ │ └── generator.php │ │ │ ├── exceptions │ │ │ │ ├── logic.php │ │ │ │ ├── runtime │ │ │ │ │ ├── file.php │ │ │ │ │ └── unexpectedValue.php │ │ │ │ ├── runtime.php │ │ │ │ └── logic │ │ │ │ │ ├── badMethodCall.php │ │ │ │ │ └── invalidArgument.php │ │ │ ├── asserters │ │ │ │ ├── mock │ │ │ │ │ └── exceptions │ │ │ │ │ │ └── logic.php │ │ │ │ ├── adapter │ │ │ │ │ ├── exceptions │ │ │ │ │ │ └── logic.php │ │ │ │ │ └── call │ │ │ │ │ │ ├── exceptions │ │ │ │ │ │ └── logic.php │ │ │ │ │ │ ├── manager │ │ │ │ │ │ └── exception.php │ │ │ │ │ │ └── manager.php │ │ │ │ ├── sizeOf.php │ │ │ │ ├── testedClass.php │ │ │ │ ├── castToString.php │ │ │ │ ├── mysqlDateTime.php │ │ │ │ ├── output.php │ │ │ │ ├── boolean.php │ │ │ │ └── hash.php │ │ │ ├── extension.php │ │ │ ├── mock │ │ │ │ ├── generator │ │ │ │ │ └── method │ │ │ │ │ │ └── exception.php │ │ │ │ ├── streams │ │ │ │ │ └── fs │ │ │ │ │ │ ├── file.php │ │ │ │ │ │ ├── controller │ │ │ │ │ │ └── factory.php │ │ │ │ │ │ ├── directory.php │ │ │ │ │ │ └── directory │ │ │ │ │ │ └── controller.php │ │ │ │ ├── aggregator.php │ │ │ │ ├── stream │ │ │ │ │ └── invoker.php │ │ │ │ └── controller │ │ │ │ │ └── invoker.php │ │ │ ├── extension │ │ │ │ ├── configuration.php │ │ │ │ └── aggregator.php │ │ │ ├── report │ │ │ │ ├── writers │ │ │ │ │ ├── realtime.php │ │ │ │ │ └── asynchronous.php │ │ │ │ ├── fields │ │ │ │ │ ├── runner.php │ │ │ │ │ ├── runner │ │ │ │ │ │ ├── failures │ │ │ │ │ │ │ └── execute │ │ │ │ │ │ │ │ ├── unix │ │ │ │ │ │ │ │ ├── gvim.php │ │ │ │ │ │ │ │ ├── gedit.php │ │ │ │ │ │ │ │ └── phpstorm.php │ │ │ │ │ │ │ │ └── macos │ │ │ │ │ │ │ │ ├── macvim.php │ │ │ │ │ │ │ │ └── phpstorm.php │ │ │ │ │ │ ├── result │ │ │ │ │ │ │ └── notifier │ │ │ │ │ │ │ │ ├── image │ │ │ │ │ │ │ │ ├── libnotify.php │ │ │ │ │ │ │ │ └── growl.php │ │ │ │ │ │ │ │ └── terminal.php │ │ │ │ │ │ ├── atoum │ │ │ │ │ │ │ ├── phing.php │ │ │ │ │ │ │ ├── path.php │ │ │ │ │ │ │ ├── version.php │ │ │ │ │ │ │ └── cli.php │ │ │ │ │ │ ├── tests │ │ │ │ │ │ │ ├── memory │ │ │ │ │ │ │ │ └── phing.php │ │ │ │ │ │ │ ├── blank.php │ │ │ │ │ │ │ ├── skipped.php │ │ │ │ │ │ │ ├── uncompleted.php │ │ │ │ │ │ │ ├── coverage.php │ │ │ │ │ │ │ ├── duration.php │ │ │ │ │ │ │ └── memory.php │ │ │ │ │ │ ├── event.php │ │ │ │ │ │ ├── duration │ │ │ │ │ │ │ └── phing.php │ │ │ │ │ │ ├── outputs.php │ │ │ │ │ │ ├── exceptions.php │ │ │ │ │ │ ├── failures.php │ │ │ │ │ │ ├── php │ │ │ │ │ │ │ ├── path.php │ │ │ │ │ │ │ └── version.php │ │ │ │ │ │ ├── duration.php │ │ │ │ │ │ ├── tap │ │ │ │ │ │ │ └── plan.php │ │ │ │ │ │ └── atoum.php │ │ │ │ │ ├── test │ │ │ │ │ │ ├── travis.php │ │ │ │ │ │ ├── run │ │ │ │ │ │ │ ├── phing.php │ │ │ │ │ │ │ └── cli.php │ │ │ │ │ │ ├── memory │ │ │ │ │ │ │ └── phing.php │ │ │ │ │ │ ├── duration │ │ │ │ │ │ │ └── phing.php │ │ │ │ │ │ ├── event.php │ │ │ │ │ │ ├── run.php │ │ │ │ │ │ ├── memory.php │ │ │ │ │ │ ├── duration.php │ │ │ │ │ │ ├── travis │ │ │ │ │ │ │ ├── start.php │ │ │ │ │ │ │ └── stop.php │ │ │ │ │ │ └── event │ │ │ │ │ │ │ └── phing.php │ │ │ │ │ └── event.php │ │ │ │ ├── field │ │ │ │ │ ├── decorators │ │ │ │ │ │ └── travis │ │ │ │ │ │ │ └── fold.php │ │ │ │ │ └── decorator.php │ │ │ │ └── field.php │ │ │ ├── adapter │ │ │ │ └── definition.php │ │ │ ├── observable.php │ │ │ ├── factory │ │ │ │ └── builder.php │ │ │ ├── adapter.php │ │ │ ├── asserter │ │ │ │ └── definition.php │ │ │ ├── reports │ │ │ │ ├── realtime │ │ │ │ │ └── tap.php │ │ │ │ └── realtime.php │ │ │ ├── reader.php │ │ │ ├── iterators │ │ │ │ └── filters │ │ │ │ │ └── recursives │ │ │ │ │ ├── atoum │ │ │ │ │ └── source.php │ │ │ │ │ ├── dot.php │ │ │ │ │ └── closure.php │ │ │ ├── template │ │ │ │ └── parser │ │ │ │ │ └── exception.php │ │ │ ├── readers │ │ │ │ └── std │ │ │ │ │ └── in.php │ │ │ ├── php.php │ │ │ ├── locale.php │ │ │ ├── cli.php │ │ │ ├── script │ │ │ │ └── prompt.php │ │ │ ├── mailers │ │ │ │ └── mail.php │ │ │ ├── writer.php │ │ │ ├── configurator.php │ │ │ └── tools │ │ │ │ └── diffs │ │ │ │ └── variable.php │ │ │ ├── bin │ │ │ └── atoum │ │ │ ├── .codeclimate.yml │ │ │ ├── constants.php │ │ │ ├── .styleci.yml │ │ │ ├── .php_cs │ │ │ ├── .travis.yml │ │ │ ├── composer.json │ │ │ └── LICENSE │ ├── bin │ │ └── atoum │ ├── tecnickcom │ │ └── tcpdf │ │ │ ├── .gitignore │ │ │ ├── VERSION │ │ │ ├── tools │ │ │ └── .htaccess │ │ │ ├── include │ │ │ └── sRGB.icc │ │ │ ├── .github │ │ │ └── FUNDING.yml │ │ │ └── composer.json │ ├── composer │ │ ├── autoload_psr4.php │ │ ├── autoload_namespaces.php │ │ └── LICENSE │ └── autoload.php └── src │ └── Smalot │ └── PdfParser │ ├── Font │ ├── FontType0.php │ ├── FontType1.php │ ├── FontType3.php │ ├── FontTrueType.php │ ├── FontCIDFontType0.php │ └── FontCIDFontType2.php │ └── XObject │ └── Image.php ├── mail_webhook_zapier.py ├── LICENSE └── README.md /univs/vendor/atoum/atoum/scripts/git/.tag: -------------------------------------------------------------------------------- 1 | 3.3.0 -------------------------------------------------------------------------------- /univs/vendor/bin/atoum: -------------------------------------------------------------------------------- 1 | ../atoum/atoum/bin/atoum -------------------------------------------------------------------------------- /univs/vendor/tecnickcom/tcpdf/.gitignore: -------------------------------------------------------------------------------- 1 | .idea -------------------------------------------------------------------------------- /univs/vendor/tecnickcom/tcpdf/VERSION: -------------------------------------------------------------------------------- 1 | 6.3.5 2 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/scripts/git/.tag: -------------------------------------------------------------------------------- 1 | 4 -------------------------------------------------------------------------------- /univs/vendor/tecnickcom/tcpdf/tools/.htaccess: -------------------------------------------------------------------------------- 1 | deny from all 2 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/resources/configurations/.gitignore: -------------------------------------------------------------------------------- 1 | *.php 2 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/.gitignore: -------------------------------------------------------------------------------- 1 | .php_cs.cache 2 | composer.lock 3 | vendor/ 4 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/ABOUT: -------------------------------------------------------------------------------- 1 | atoum is a simple, modern and intuitive PHP unit testing framework. 2 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/.atoum.php: -------------------------------------------------------------------------------- 1 | addTestsFromDirectory(__DIR__ . '/classes'); 4 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/exception.php: -------------------------------------------------------------------------------- 1 | ; 4 | 5 | class 6 | { 7 | } 8 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/scripts/runner/looper.php: -------------------------------------------------------------------------------- 1 | array($baseDir . '/src'), 10 | ); 11 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/observable.php: -------------------------------------------------------------------------------- 1 | testedClass->isAbstract(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/mock/aggregator.php: -------------------------------------------------------------------------------- 1 | testedClass->extends(atoum\exceptions\runtime::class); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/factory/builder.php: -------------------------------------------------------------------------------- 1 | /dev/null &'); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/result/notifier/image/libnotify.php: -------------------------------------------------------------------------------- 1 | testedClass->extends(atoum\exceptions\runtime::class); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/failures/execute/unix/gedit.php: -------------------------------------------------------------------------------- 1 | /dev/null &'); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/cli/command/exception.php: -------------------------------------------------------------------------------- 1 | testedClass->extends(atoum\exceptions\runtime::class); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/failures/execute/macos/macvim.php: -------------------------------------------------------------------------------- 1 | testedClass->extends(atoum\exceptions\runtime::class); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/failures/execute/unix/phpstorm.php: -------------------------------------------------------------------------------- 1 | /dev/null &'; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/asserters/mock/exceptions/logic.php: -------------------------------------------------------------------------------- 1 | testedClass->extends(atoum\exceptions\logic::class); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/runner.php: -------------------------------------------------------------------------------- 1 | addDirectory(__NAMESPACE__ . '\asserters', __DIR__ . '/asserters') 16 | ; 17 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/functionals/runner.php: -------------------------------------------------------------------------------- 1 | addDirectory(__NAMESPACE__ . '\test', __DIR__ . '/test') 16 | ; 17 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/asserters/adapter/exceptions/logic.php: -------------------------------------------------------------------------------- 1 | testedClass->extends(atoum\exceptions\logic::class); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/reports/asynchronous/coveralls/resources/1.json: -------------------------------------------------------------------------------- 1 | {"service_name":"atoum","service_event_type":"manual","service_job_id":null,"run_at":"2013-05-13 10:00:00 +0000","source_files":[],"git":{"head":{"id":"7282ea7620b45fcba0f9d3bfd484ab146aba2bd0","author_name":"mageekguy","author_email":"atoum@atoum.org","comitter_name":"mageekguy","comitter_email":"atoum@atoum.org"},"branch":"master"},"repo_token":"51bb597d202b4"} -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/asserters/adapter/call/exceptions/logic.php: -------------------------------------------------------------------------------- 1 | testedClass->extends(atoum\exceptions\logic::class); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/functionals/test/functional.php: -------------------------------------------------------------------------------- 1 | testedClass->isSubClassOf(atoum\exceptions\runtime::class); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/adapter.php: -------------------------------------------------------------------------------- 1 | invoke($functionName, $arguments); 10 | } 11 | 12 | public function invoke($functionName, array $arguments = []) 13 | { 14 | return call_user_func_array($functionName, $arguments); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/test/travis.php: -------------------------------------------------------------------------------- 1 | addWriter($stdOutWriter); 19 | 20 | $runner->addReport($vimReport); 21 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/asserter/definition.php: -------------------------------------------------------------------------------- 1 | testedClass 15 | ->extends(\exception::class) 16 | ->implements(atoum\exception::class) 17 | ; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/reports/realtime/tap.php: -------------------------------------------------------------------------------- 1 | addField(new fields\runner\tap\plan()) 16 | ->addField(new fields\test\event\tap()) 17 | ; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/exceptions/logic.php: -------------------------------------------------------------------------------- 1 | testedClass 15 | ->extends(\logicException::class) 16 | ->implements(atoum\exception::class) 17 | ; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/scripts/runner.php: -------------------------------------------------------------------------------- 1 | testedClass 15 | ->isSubClassOf(atoum\php\tokenizer\iterator::class) 16 | ; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/php/tokenizer/iterators/phpProperty.php: -------------------------------------------------------------------------------- 1 | testedClass 15 | ->isSubClassOf(atoum\php\tokenizer\iterator::class) 16 | ; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/exceptions/runtime.php: -------------------------------------------------------------------------------- 1 | testedClass 15 | ->extends(\runtimeException::class) 16 | ->implements(atoum\exception::class) 17 | ; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/php/tokenizer/iterators/phpImportation.php: -------------------------------------------------------------------------------- 1 | testedClass 15 | ->isSubClassOf(atoum\php\tokenizer\iterator::class) 16 | ; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/asserters/adapter/call/manager/exception.php: -------------------------------------------------------------------------------- 1 | testedClass 14 | ->extends(\runtimeException::class) 15 | ->implements(atoum\exception::class) 16 | ; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/php/tokenizer/iterators/phpMethod.php: -------------------------------------------------------------------------------- 1 | testedClass 15 | ->isSubClassOf(atoum\php\tokenizer\iterators\phpFunction::class) 16 | ; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/test/run/phing.php: -------------------------------------------------------------------------------- 1 | prompt . ($this->testClass === null ? $this->colorizer->colorize($this->locale->_('There is currently no test running.')) : $this->locale->_('%s : ', $this->colorizer->colorize($this->testClass))); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/resources/templates/test/generator/testClass.php: -------------------------------------------------------------------------------- 1 | ; 4 | 5 | use mageekguy\atoum; 6 | use as testedClass; 7 | 8 | require_once __DIR__ . '/'; 9 | 10 | class extends atoum\test 11 | { 12 | public function test() 13 | { 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/extension/aggregator.php: -------------------------------------------------------------------------------- 1 | author === null || $this->version === null ? '' : $this->prompt . $this->colorizer->colorize($this->locale->_("Atoum version: %s \nAtoum path: %s \nAtoum author: %s", $this->version, $this->path, $this->author))); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/scripts/treemap/analyzers/size.php: -------------------------------------------------------------------------------- 1 | getSize(); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/constants.php: -------------------------------------------------------------------------------- 1 | string($this->newTestedInstance->md5($hash = uniqid()))->isEqualTo(md5($hash)); 14 | } 15 | 16 | public function testInvoke() 17 | { 18 | $this->string($this->newTestedInstance->invoke('md5', [$hash = uniqid()]))->isEqualTo(md5($hash)); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/reports/asynchronous/coveralls/resources/2.json: -------------------------------------------------------------------------------- 1 | {"service_name":"atoum","service_event_type":"manual","service_job_id":null,"run_at":"2013-05-13 10:00:00 +0000","source_files":[{"name":"foo\/bar.php","source":"getTestedClassName()); 18 | 19 | return parent::setWithTest($test); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/resources/configurations/runner/cli.php.dist: -------------------------------------------------------------------------------- 1 | addWriter($stdOutWriter); 20 | 21 | $runner->addReport($cliReport); 22 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/exceptions/logic/badMethodCall.php: -------------------------------------------------------------------------------- 1 | testedClass 15 | ->extends(\logicException::class) 16 | ->extends(\badMethodCallException::class) 17 | ->implements(atoum\exception::class) 18 | ; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/.styleci.yml: -------------------------------------------------------------------------------- 1 | preset: psr2 2 | 3 | enabled: 4 | - blankline_after_open_tag 5 | - concat_with_spaces 6 | - join_function 7 | - native_function_casing 8 | - no_blank_lines_after_class_opening 9 | - ordered_use 10 | - phpdoc_no_access 11 | - remove_leading_slash_use 12 | - self_accessor 13 | - short_array_syntax 14 | - spaces_cast 15 | - unused_use 16 | - whitespacy_lines 17 | 18 | finder: 19 | exclude: 20 | - "tests" 21 | name: 22 | - "*.php" 23 | - "*.php.dist" 24 | path: 25 | - "." 26 | not-path: 27 | - "resources/templates" -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/exceptions/logic/invalidArgument.php: -------------------------------------------------------------------------------- 1 | testedClass 15 | ->extends(\logicException::class) 16 | ->extends(\invalidArgumentException::class) 17 | ->implements(atoum\exception::class) 18 | ; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/php/mocker/adapter.php: -------------------------------------------------------------------------------- 1 | prompt . 12 | sprintf( 13 | $this->locale->_('%1$s'), 14 | $this->memoryColorizer->colorize($this->value === null ? $this->locale->_('unknown') : $this->locale->_('%4.2f Mb', $this->value / 1048576)) 15 | ) 16 | ; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/exceptions/runtime/unexpectedValue.php: -------------------------------------------------------------------------------- 1 | testedClass 15 | ->extends(\runtimeException::class) 16 | ->extends(\unexpectedValueException::class) 17 | ->implements(atoum\exception::class) 18 | ; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/writers/std/err.php: -------------------------------------------------------------------------------- 1 | resource === null) { 12 | $resource = $this->adapter->fopen('php://stderr', 'w'); 13 | 14 | if ($resource === false) { 15 | throw new exceptions\runtime('Unable to open php://stderr stream'); 16 | } 17 | 18 | $this->resource = $resource; 19 | } 20 | 21 | return $this; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/writers/std/out.php: -------------------------------------------------------------------------------- 1 | resource === null) { 12 | $resource = $this->adapter->fopen('php://stdout', 'w'); 13 | 14 | if ($resource === false) { 15 | throw new exceptions\runtime('Unable to open php://stdout stream'); 16 | } 17 | 18 | $this->resource = $resource; 19 | } 20 | 21 | return $this; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /mail_webhook_zapier.py: -------------------------------------------------------------------------------- 1 | import requests 2 | 3 | ''' 4 | Need these inputs: 5 | time: {{zap_meta_timestamp}} 6 | from: {{sender_emailAddress_address}} 7 | subject: {{subject}} 8 | body: {{bodyPreview}} 9 | ''' 10 | 11 | if ('edu' in input['from']) or ('ubc.ca' in input['from']) : 12 | payload = {'time': input['time'], 'from': input['from'], 'subject': input['subject'], 'body': input['body']} 13 | r = requests.post('https://example.com/admit_webhook.php', data=payload, params=payload_param) 14 | print(r.text) 15 | 16 | output = {'success': True} 17 | else: 18 | output = {'success': False} 19 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/php/extension.php: -------------------------------------------------------------------------------- 1 | name = $name; 12 | } 13 | 14 | public function isLoaded() 15 | { 16 | return extension_loaded($this->name); 17 | } 18 | 19 | public function requireExtension() 20 | { 21 | if ($this->isLoaded() === false) { 22 | throw new exception('PHP extension \'' . $this->name . '\' is not loaded'); 23 | } 24 | 25 | return $this; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/reader.php: -------------------------------------------------------------------------------- 1 | setAdapter($adapter); 12 | } 13 | 14 | public function setAdapter(adapter $adapter = null) 15 | { 16 | $this->adapter = $adapter ?: new adapter(); 17 | 18 | return $this; 19 | } 20 | 21 | public function getAdapter() 22 | { 23 | return $this->adapter; 24 | } 25 | 26 | abstract public function read($length = null); 27 | } 28 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/test/duration/phing.php: -------------------------------------------------------------------------------- 1 | prompt . 12 | sprintf( 13 | $this->locale->_('%1$s'), 14 | $this->durationColorizer->colorize($this->value === null ? $this->locale->_('unknown') : sprintf($this->locale->__('%4.2f s', '%4.2f s', $this->value), $this->value)) 15 | ) 16 | ; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/resources/configurations/builder/config.php.dist: -------------------------------------------------------------------------------- 1 | setWorkingDirectory('/path/to/working/directory') 7 | ->setDestinationDirectory('/path/to/destination/directory') 8 | ->setScoreDirectory('/path/to/scores/directory') 9 | ->setErrorsDirectory('/path/to/errors/directory') 10 | ->setRevisionFile('/path/to/revision/file') 11 | ->addRunnerConfigurationFile('/path/to/runner/configuration/file') 12 | ->setTaggerEngine(new atoum\scripts\tagger\engine()) 13 | ->setReportTitle('[%3$s] Nightly build of revision %4$s the %1$s at %2$s') 14 | ; 15 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/resources/configurations/runner/bootstrap.php.dist: -------------------------------------------------------------------------------- 1 | writeError($message); 13 | 14 | exit($error); 15 | } 16 | } 17 | ); 18 | 19 | try { 20 | $tagger->run(); 21 | } catch (\exception $exception) { 22 | $tagger->writeError($exception->getMessage()); 23 | 24 | exit($exception->getCode()); 25 | } 26 | 27 | exit(0); 28 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/failures/execute/macos/phpstorm.php: -------------------------------------------------------------------------------- 1 | /dev/null &'); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/scripts/builder.php: -------------------------------------------------------------------------------- 1 | writeError($message); 13 | 14 | exit($error); 15 | } 16 | } 17 | ); 18 | 19 | try { 20 | $builder->run(); 21 | } catch (\exception $exception) { 22 | $builder->writeError($exception->getMessage()); 23 | 24 | exit($exception->getCode()); 25 | } 26 | 27 | exit(0); 28 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/scripts/git/pusher.php: -------------------------------------------------------------------------------- 1 | writeError($message); 13 | 14 | exit($error); 15 | } 16 | } 17 | ); 18 | 19 | try { 20 | $pusher->run(); 21 | } catch (\exception $exception) { 22 | $pusher->writeError($exception->getMessage()); 23 | 24 | exit($exception->getCode()); 25 | } 26 | 27 | exit(0); 28 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/php/tokenizer/iterators/phpArgument.php: -------------------------------------------------------------------------------- 1 | defaultValue; 15 | } 16 | 17 | public function appendDefaultValue(iterators\phpDefaultValue $phpDefaultValue) 18 | { 19 | $this->defaultValue = $phpDefaultValue; 20 | 21 | return $this->append($phpDefaultValue); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/scripts/compiler.php: -------------------------------------------------------------------------------- 1 | writeError($message); 13 | 14 | exit($error); 15 | } 16 | } 17 | ); 18 | 19 | try { 20 | $compiler->run(); 21 | } catch (\exception $exception) { 22 | $compiler->writeError($exception->getMessage()); 23 | 24 | exit($exception->getCode()); 25 | } 26 | 27 | exit(0); 28 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/scripts/coverage.php: -------------------------------------------------------------------------------- 1 | writeError($message); 13 | 14 | exit($error); 15 | } 16 | } 17 | ); 18 | 19 | try { 20 | $coverage->run(); 21 | } catch (\exception $exception) { 22 | $coverage->writeError($exception->getMessage()); 23 | 24 | exit($exception->getCode()); 25 | } 26 | 27 | exit(0); 28 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/iterators/filters/recursives/atoum/source.php: -------------------------------------------------------------------------------- 1 | getInnerIterator()->current()->getBasename()) { 12 | case 'GPATH': 13 | case 'GRTAGS': 14 | case 'GTAGS': 15 | case 'vendor': 16 | case 'composer.lock': 17 | return false; 18 | 19 | default: 20 | return parent::accept(); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/reports/asynchronous/xunit/resources/1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/mock/streams/fs/controller/factory.php: -------------------------------------------------------------------------------- 1 | given($factory = new testedClass()) 17 | ->then 18 | ->object($factory->build($name = uniqid()))->isEqualTo(new controller($name)) 19 | ; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/resources/configurations/ci/.appveyor.php.dist: -------------------------------------------------------------------------------- 1 | addDefaultReport(); 11 | 12 | if (file_exists(__DIR__ . '/vendor/autoload.php') === true) 13 | { 14 | require_once __DIR__ . '/vendor/autoload.php'; 15 | } 16 | 17 | if (class_exists('mageekguy\atoum\reports\telemetry') === true) 18 | { 19 | $telemetry = new telemetry(); 20 | $telemetry->readProjectNameFromComposerJson(__DIR__ . '/composer.json'); 21 | $telemetry->addWriter(new std\out()); 22 | $runner->addReport($telemetry); 23 | } 24 | 25 | $script->testIt(); 26 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/functionals/classes/test/data/providers/mock.php: -------------------------------------------------------------------------------- 1 | object($mock)->isInstanceOf(\stdClass::class) 16 | ->mock($mock) 17 | ->object($otherMock)->isInstanceOf(\stdClass::class) 18 | ->mock($otherMock) 19 | ; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/report/field.php: -------------------------------------------------------------------------------- 1 | testedClass->isAbstract(); 14 | } 15 | 16 | public function test__construct() 17 | { 18 | $this 19 | ->if($field = new \mock\mageekguy\atoum\report\field()) 20 | ->then 21 | ->variable($field->getEvents())->isNull() 22 | ->object($field->getLocale())->isEqualTo(new atoum\locale()) 23 | ; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/resources/configurations/runner/builder.php.dist: -------------------------------------------------------------------------------- 1 | addTo('to@domain') 12 | ->setFrom('from@domain') 13 | ->setXMailer('atoum builder') 14 | ->setReplyTo('reply@domain') 15 | ->setContentType('text/plain', 'utf-8') 16 | ; 17 | 18 | $mailWriter = new atoum\writers\mail(); 19 | $mailWriter 20 | ->setMailer($mailer) 21 | ; 22 | 23 | $builderReport = new atoum\reports\asynchronous\builder(); 24 | $builderReport 25 | ->addWriter($mailWriter) 26 | ; 27 | 28 | $runner->addReport($builderReport); 29 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/test/adapter/calls/decorator.php: -------------------------------------------------------------------------------- 1 | 0) { 16 | $format = '[%' . strlen((string) $sizeOfCalls) . 's] %s'; 17 | 18 | $position = 1; 19 | 20 | foreach ($calls->getTimeline() as $call) { 21 | $string .= sprintf($format, $position++, $call) . PHP_EOL; 22 | } 23 | } 24 | 25 | return $string; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/tests/memory/phing.php: -------------------------------------------------------------------------------- 1 | locale->__('Total test memory usage', 'Total tests memory usage', $this->testNumber); 12 | $memory = ($this->value === null ? $this->locale->_('unknown') : $this->locale->_('%4.2f Mb', $this->value / 1048576)); 13 | 14 | return $this->prompt . $this->locale->_('%s: %s.', $this->titleColorizer->colorize($title), $this->memoryColorizer->colorize($memory)); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/mock/stream/invoker.php: -------------------------------------------------------------------------------- 1 | testedClass->isSubclassOf(atoum\test\adapter\invoker::class); 16 | } 17 | 18 | public function test__construct() 19 | { 20 | $this 21 | ->if($invoker = new stream\invoker($methodName = uniqid())) 22 | ->then 23 | ->string($invoker->getMethodName())->isEqualTo($methodName) 24 | ; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/event.php: -------------------------------------------------------------------------------- 1 | setCli($cli); 15 | } 16 | 17 | public function setCli(atoum\cli $cli = null) 18 | { 19 | $this->cli = $cli ?: new atoum\cli(); 20 | 21 | return $this; 22 | } 23 | 24 | public function getCli() 25 | { 26 | return $this->cli; 27 | } 28 | 29 | public function decorate($string) 30 | { 31 | return ($this->cli->isTerminal() === false ? PHP_EOL : "\033[1K\r") . $string; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/fs/path/factory.php: -------------------------------------------------------------------------------- 1 | directorySeparator = $directorySeparator; 16 | 17 | return $this; 18 | } 19 | 20 | public function setAdapter(atoum\adapter $adapter = null) 21 | { 22 | $this->adapter = $adapter; 23 | 24 | return $this; 25 | } 26 | 27 | public function build($path) 28 | { 29 | return new path($path, $this->directorySeparator, $this->adapter); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/iterators/filters/recursives/dot.php: -------------------------------------------------------------------------------- 1 | getInnerIterator()->current()->getBasename(), 0, 1) != '.'); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/scripts/treemap.php: -------------------------------------------------------------------------------- 1 | writeError($message); 15 | 16 | exit($error); 17 | } 18 | } 19 | ); 20 | 21 | try { 22 | $treemap->setHtmlDirectory(atoum\directory . '/resources/treemap')->run(); 23 | } catch (\exception $exception) { 24 | $treemap->writeError($exception->getMessage()); 25 | 26 | exit($exception->getCode()); 27 | } 28 | 29 | exit(0); 30 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/template/parser/exception.php: -------------------------------------------------------------------------------- 1 | errorLine = $errorLine; 17 | $this->errorOffset = $errorOffset; 18 | } 19 | 20 | public function getErrorLine() 21 | { 22 | return $this->errorLine; 23 | } 24 | 25 | public function getErrorOffset() 26 | { 27 | return $this->errorOffset; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/duration/phing.php: -------------------------------------------------------------------------------- 1 | prompt . 13 | sprintf( 14 | $this->locale->_('%1$s: %2$s.'), 15 | $this->titleColorizer->colorize($this->locale->_('Running duration')), 16 | $this->durationColorizer->colorize( 17 | $this->value === null ? $this->locale->_('unknown') : sprintf($this->locale->__('%4.2f second', '%4.2f seconds', $this->value), $this->value) 18 | ) 19 | ); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/writer/decorators/prompt.php: -------------------------------------------------------------------------------- 1 | setPrompt($prompt); 16 | } 17 | 18 | public function setPrompt($prompt = null) 19 | { 20 | $this->prompt = $prompt ?: static::defaultPrompt; 21 | 22 | return $this; 23 | } 24 | 25 | public function getPrompt() 26 | { 27 | return $this->prompt; 28 | } 29 | 30 | public function decorate($message) 31 | { 32 | return $this->prompt . $message; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/resources/configurations/runner/logo.php.dist: -------------------------------------------------------------------------------- 1 | addDefaultReport(); 14 | 15 | /* 16 | This will add the atoum logo before each run 17 | */ 18 | $cliReport->addField(new atoum\report\fields\runner\atoum\logo()); 19 | 20 | /* 21 | This will add a green or red logo after each run depending on its status 22 | */ 23 | $cliReport->addField(new atoum\report\fields\runner\result\logo()); 24 | 25 | $runner->addReport($cliReport); 26 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/scripts/phar/generator.php: -------------------------------------------------------------------------------- 1 | setOriginDirectory(__DIR__ . '/../..'); 9 | $generator->setStubFile(__DIR__ . '/resources/stub.php'); 10 | 11 | set_error_handler( 12 | function ($error, $message, $file, $line) use ($generator) { 13 | if (error_reporting() !== 0) { 14 | $generator->writeError($message); 15 | 16 | exit($error); 17 | } 18 | } 19 | ); 20 | 21 | try { 22 | $generator->run(); 23 | } catch (\exception $exception) { 24 | $generator->writeError($exception->getMessage()); 25 | 26 | exit($exception->getCode()); 27 | } 28 | 29 | exit(0); 30 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/reports/asynchronous/vim.php: -------------------------------------------------------------------------------- 1 | testedClass->extends(atoum\reports\asynchronous::class); 15 | } 16 | 17 | public function test__construct() 18 | { 19 | $this 20 | ->if($report = new asynchronous\vim()) 21 | ->then 22 | ->object($report->getLocale())->isEqualTo(new atoum\locale()) 23 | ->object($report->getAdapter())->isEqualTo(new atoum\adapter()) 24 | ; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/mock/stream/invoker.php: -------------------------------------------------------------------------------- 1 | methodName = strtolower($methodName); 14 | } 15 | 16 | public function getMethodName() 17 | { 18 | return $this->methodName; 19 | } 20 | 21 | public function offsetSet($call = null, $mixed = null) 22 | { 23 | if ($this->methodName == 'dir_readdir' && $mixed instanceof \mageekguy\atoum\mock\stream\controller) { 24 | $mixed = $mixed->getBasename(); 25 | } 26 | 27 | return parent::offsetSet($call, $mixed); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/writer/decorators/trim.php: -------------------------------------------------------------------------------- 1 | if($decorator = new testedClass()) 16 | ->then 17 | ->string($decorator->decorate($message = uniqid()))->isEqualTo($message) 18 | ->string($decorator->decorate(($message = uniqid()) . PHP_EOL))->isEqualTo($message) 19 | ->string($decorator->decorate(' ' . ($message = uniqid()) . PHP_EOL . PHP_EOL))->isEqualTo($message) 20 | ; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/asserters/castToString.php: -------------------------------------------------------------------------------- 1 | fail($this->_('%s is not an object', $this->getTypeOf($value))); 14 | } else { 15 | $this->pass(); 16 | 17 | $this->value = (string) $this->value; 18 | } 19 | } 20 | 21 | return $this; 22 | } 23 | 24 | protected static function isObject($value) 25 | { 26 | return (is_object($value) === true); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/php/mocker/adapter.php: -------------------------------------------------------------------------------- 1 | testedClass->extends(atoum\test\adapter::class); 16 | } 17 | 18 | public function test__get() 19 | { 20 | $this 21 | ->if($adapter = new testedClass()) 22 | ->then 23 | ->object($invoker = $adapter->md5)->isEqualTo(new mocker\adapter\invoker('md5')) 24 | ->object($adapter->md5)->isIdenticalTo($invoker) 25 | ; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/atoum/path.php: -------------------------------------------------------------------------------- 1 | path; 21 | } 22 | 23 | public function handleEvent($event, atoum\observable $observable) 24 | { 25 | if (parent::handleEvent($event, $observable) === false) { 26 | return false; 27 | } 28 | 29 | $this->path = realpath($_SERVER['argv'][0]); 30 | 31 | return true; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/test/adapter/call/decorators/addClass.php: -------------------------------------------------------------------------------- 1 | class = (is_object($mixed) === false ? (string) $mixed : get_class($mixed)); 16 | } 17 | 18 | public function getClass() 19 | { 20 | return $this->class; 21 | } 22 | 23 | public function decorate(call $call) 24 | { 25 | $string = parent::decorate($call); 26 | 27 | if ($string !== '') { 28 | $string = $this->class . '::' . $string; 29 | } 30 | 31 | return $string; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/outputs.php: -------------------------------------------------------------------------------- 1 | runner; 21 | } 22 | 23 | public function handleEvent($event, observable $observable) 24 | { 25 | if (parent::handleEvent($event, $observable) === false) { 26 | return false; 27 | } else { 28 | $this->runner = $observable; 29 | 30 | return true; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/exceptions.php: -------------------------------------------------------------------------------- 1 | runner; 21 | } 22 | 23 | public function handleEvent($event, observable $observable) 24 | { 25 | if (parent::handleEvent($event, $observable) === false) { 26 | return false; 27 | } else { 28 | $this->runner = $observable; 29 | 30 | return true; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/failures.php: -------------------------------------------------------------------------------- 1 | runner; 21 | } 22 | 23 | public function handleEvent($event, observable $observable) 24 | { 25 | if (parent::handleEvent($event, $observable) === false) { 26 | return false; 27 | } else { 28 | $this->runner = $observable; 29 | 30 | return true; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/result/notifier/terminal.php: -------------------------------------------------------------------------------- 1 | callbackCommand = $command; 19 | 20 | return $this; 21 | } 22 | 23 | public function send($title, $message, $success) 24 | { 25 | return $this->adapter->system(sprintf($this->getCommand(), escapeshellarg($title), escapeshellarg($message), escapeshellarg($this->callbackCommand))); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/test/run.php: -------------------------------------------------------------------------------- 1 | testClass; 21 | } 22 | 23 | public function handleEvent($event, atoum\observable $observable) 24 | { 25 | if (parent::handleEvent($event, $observable) === false) { 26 | return false; 27 | } else { 28 | $this->testClass = $observable->getClass(); 29 | 30 | return true; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/resources/configurations/runner/xunit.php.dist: -------------------------------------------------------------------------------- 1 | addDefaultReport(); 14 | 15 | /* 16 | Please replace in next line /path/to/destination/directory/atoum.xunit.xml by your output file for xUnit report. 17 | */ 18 | $xunitWriter = new atoum\writers\file('/path/to/destination/directory/atoum.xunit.xml'); 19 | 20 | /* 21 | Generate a xUnit report. 22 | */ 23 | $xunitReport = new atoum\reports\asynchronous\xunit(); 24 | $xunitReport->addWriter($xunitWriter); 25 | 26 | $runner->addReport($xunitReport); 27 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/tests/blank.php: -------------------------------------------------------------------------------- 1 | runner; 21 | } 22 | 23 | public function handleEvent($event, observable $observable) 24 | { 25 | if (parent::handleEvent($event, $observable) === false) { 26 | return false; 27 | } else { 28 | $this->runner = $observable; 29 | 30 | return true; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/php/path.php: -------------------------------------------------------------------------------- 1 | path; 21 | } 22 | 23 | public function handleEvent($event, atoum\observable $observable) 24 | { 25 | if (parent::handleEvent($event, $observable) === false) { 26 | return false; 27 | } else { 28 | $this->path = $observable->getScore()->getPhpPath(); 29 | 30 | return true; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/tests/skipped.php: -------------------------------------------------------------------------------- 1 | runner; 21 | } 22 | 23 | public function handleEvent($event, observable $observable) 24 | { 25 | if (parent::handleEvent($event, $observable) === false) { 26 | return false; 27 | } else { 28 | $this->runner = $observable; 29 | 30 | return true; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/test/memory.php: -------------------------------------------------------------------------------- 1 | value; 21 | } 22 | 23 | public function handleEvent($event, atoum\observable $observable) 24 | { 25 | if (parent::handleEvent($event, $observable) === false) { 26 | return false; 27 | } else { 28 | $this->value = $observable->getScore()->getTotalMemoryUsage(); 29 | 30 | return true; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/duration.php: -------------------------------------------------------------------------------- 1 | value; 21 | } 22 | 23 | public function handleEvent($event, observable $observable) 24 | { 25 | if (parent::handleEvent($event, $observable) === false) { 26 | return false; 27 | } else { 28 | $this->value = $observable->getRunningDuration(); 29 | 30 | return true; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/tests/uncompleted.php: -------------------------------------------------------------------------------- 1 | runner; 21 | } 22 | 23 | public function handleEvent($event, observable $observable) 24 | { 25 | if (parent::handleEvent($event, $observable) === false) { 26 | return false; 27 | } else { 28 | $this->runner = $observable; 29 | 30 | return true; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/test/duration.php: -------------------------------------------------------------------------------- 1 | value; 21 | } 22 | 23 | public function handleEvent($event, observable $observable) 24 | { 25 | if (parent::handleEvent($event, $observable) === false) { 26 | return false; 27 | } else { 28 | $this->value = $observable->getScore()->getTotalDuration(); 29 | 30 | return true; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/resources/configurations/runner/clover.php.dist: -------------------------------------------------------------------------------- 1 | addDefaultReport(); 14 | 15 | /* 16 | Please replace in next line /path/to/destination/directory/atoum.coverage.xml by your output file for clover report. 17 | */ 18 | $cloverWriter = new atoum\writers\file('/path/to/destination/directory/atoum.coverage.xml'); 19 | 20 | /* 21 | Generate a clover XML report. 22 | */ 23 | $cloverReport = new atoum\reports\asynchronous\clover(); 24 | $cloverReport->addWriter($cloverWriter); 25 | 26 | $runner->addReport($cloverReport); 27 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/reports/asynchronous/clover/resources/1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/php/version.php: -------------------------------------------------------------------------------- 1 | version; 21 | } 22 | 23 | public function handleEvent($event, atoum\observable $observable) 24 | { 25 | if (parent::handleEvent($event, $observable) === false) { 26 | return false; 27 | } else { 28 | $this->version = $observable->getScore()->getPhpVersion(); 29 | 30 | return true; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/atoum/version.php: -------------------------------------------------------------------------------- 1 | version; 21 | } 22 | 23 | public function handleEvent($event, atoum\observable $observable) 24 | { 25 | if (parent::handleEvent($event, $observable) === false) { 26 | return false; 27 | } else { 28 | $this->version = $observable->getScore()->getAtoumVersion(); 29 | 30 | return true; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/tests/coverage.php: -------------------------------------------------------------------------------- 1 | coverage; 21 | } 22 | 23 | public function handleEvent($event, atoum\observable $observable) 24 | { 25 | if (parent::handleEvent($event, $observable) === false) { 26 | return false; 27 | } else { 28 | $this->coverage = $observable->getScore()->getCoverage(); 29 | 30 | return true; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/result/notifier/image/growl.php: -------------------------------------------------------------------------------- 1 | callbackUrl = $url; 19 | 20 | return $this; 21 | } 22 | 23 | public function send($title, $message, $success) 24 | { 25 | return $this->adapter->system(sprintf($this->getCommand(), escapeshellarg($title), escapeshellarg($message), escapeshellarg($this->getImage($success)), escapeshellarg($this->callbackUrl))); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/scripts/phar/resources/stub.php: -------------------------------------------------------------------------------- 1 | setTest($test); 17 | } 18 | 19 | public function __get($property) 20 | { 21 | return $this->test->{$property}; 22 | } 23 | 24 | public function __call($method, array $arguments) 25 | { 26 | return call_user_func_array([$this->test, $method], $arguments); 27 | } 28 | 29 | public function setTest(atoum\test $test) 30 | { 31 | $this->test = $test; 32 | 33 | return $this; 34 | } 35 | 36 | public function getTest() 37 | { 38 | return $this->test; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/tap/plan.php: -------------------------------------------------------------------------------- 1 | testMethodNumber <= 0 ? '' : '1..' . $this->testMethodNumber . PHP_EOL); 20 | } 21 | 22 | public function handleEvent($event, \mageekguy\atoum\observable $observable) 23 | { 24 | if (parent::handleEvent($event, $observable) === false) { 25 | return false; 26 | } else { 27 | $this->testMethodNumber = $observable->getTestMethodNumber(); 28 | 29 | return true; 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/test/travis/start.php: -------------------------------------------------------------------------------- 1 | observable)); 22 | 23 | return 'travis_fold:start:' . $slug . PHP_EOL . 'travis_time:start:' . $slug . PHP_EOL; 24 | } 25 | 26 | public function handleEvent($event, atoum\observable $observable) 27 | { 28 | $this->event = $event; 29 | $this->observable = $observable; 30 | 31 | return parent::handleEvent($event, $observable); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/event.php: -------------------------------------------------------------------------------- 1 | observable; 16 | } 17 | 18 | public function getEvent() 19 | { 20 | return $this->event; 21 | } 22 | 23 | public function handleEvent($event, atoum\observable $observable) 24 | { 25 | if (parent::handleEvent($event, $observable) === false) { 26 | $this->observable = null; 27 | $this->event = null; 28 | 29 | return false; 30 | } else { 31 | $this->observable = $observable; 32 | $this->event = $event; 33 | 34 | return true; 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/writer/decorators/rtrim.php: -------------------------------------------------------------------------------- 1 | if($decorator = new testedClass()) 16 | ->then 17 | ->string($decorator->decorate($message = uniqid()))->isEqualTo($message) 18 | ->string($decorator->decorate(($message = uniqid()) . PHP_EOL))->isEqualTo($message) 19 | ->string($decorator->decorate(' ' . ($message = uniqid()) . PHP_EOL . PHP_EOL))->isEqualTo(' ' . $message) 20 | ->string($decorator->decorate(PHP_EOL . ' ' . ($message = uniqid()) . PHP_EOL . PHP_EOL))->isEqualTo(PHP_EOL . ' ' . $message) 21 | ; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/asserters/mysqlDateTime.php: -------------------------------------------------------------------------------- 1 | fail($this->_('%s is not in format Y-m-d H:i:s', $this)); 20 | } 21 | } 22 | 23 | return $this; 24 | } 25 | 26 | public function getValue() 27 | { 28 | $value = parent::getValue(); 29 | 30 | return ($value instanceof \dateTime === false ? $value : $value->format(self::mysqlDateTimeFormat)); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/field/decorators/travis/fold.php: -------------------------------------------------------------------------------- 1 | slug = $slug; 17 | } 18 | 19 | public function decorate($string) 20 | { 21 | if ($string == '') { 22 | return (string) $string; 23 | } 24 | 25 | $newlinePosition = strpos($string, PHP_EOL); 26 | 27 | if (strpos($string, PHP_EOL, $newlinePosition + 1) === false) { 28 | return $string; 29 | } 30 | 31 | return 'travis_fold:start:' . $this->slug . PHP_EOL . 32 | $string . 33 | 'travis_fold:end:' . $this->slug . PHP_EOL; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/test/engines/isolate.php: -------------------------------------------------------------------------------- 1 | score = $score ?: new atoum\score(); 20 | 21 | return $this; 22 | } 23 | 24 | public function run(atoum\test $test) 25 | { 26 | parent::run($test); 27 | 28 | $this->score = parent::getScore(); 29 | 30 | while ($this->score === null) { 31 | $this->score = parent::getScore(); 32 | } 33 | 34 | return $this; 35 | } 36 | 37 | public function getScore() 38 | { 39 | return $this->score; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/writer/decorators/eol.php: -------------------------------------------------------------------------------- 1 | testedClass->implements(atoum\writer\decorator::class); 15 | } 16 | 17 | public function testDecorate() 18 | { 19 | $this 20 | ->if($decorator = new testedClass()) 21 | ->then 22 | ->string($decorator->decorate($message = uniqid()))->isEqualTo($message . PHP_EOL) 23 | ->string($decorator->decorate($message = uniqid() . PHP_EOL))->isEqualTo($message . PHP_EOL) 24 | ->string($decorator->decorate($message = ' ' . uniqid() . PHP_EOL . PHP_EOL))->isEqualTo($message . PHP_EOL) 25 | ; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/scripts/treemap/analyzers/sloc.php: -------------------------------------------------------------------------------- 1 | openFile() as $line) { 25 | if (preg_match('/^\s+$/', $line)) { 26 | $blankLines++; 27 | } else { 28 | $codeLines++; 29 | } 30 | } 31 | 32 | $totalLines = $codeLines + $blankLines; 33 | 34 | return $totalLines === 0 ? 0 : ($blankLines / $totalLines <= 0.25 ? $totalLines : $codeLines); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/asserters/output.php: -------------------------------------------------------------------------------- 1 | setWith(null); 16 | } 17 | 18 | public function setWith($value = null, $charlist = null, $checkType = true) 19 | { 20 | if ($value instanceof \closure) { 21 | ob_start(); 22 | $value($this->getTest()); 23 | $value = ob_get_clean(); 24 | } elseif ($value === null && ob_get_level() > 0) { 25 | $value = ob_get_clean(); 26 | ob_start(); 27 | } 28 | 29 | return parent::setWith($value, $charlist, $checkType); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/test/data/set.php: -------------------------------------------------------------------------------- 1 | provider = $provider; 13 | $this->size = $size ?: 1; 14 | } 15 | 16 | public function __invoke() 17 | { 18 | return $this->generate(); 19 | } 20 | 21 | public function __toString() 22 | { 23 | return $this->provider->__toString(); 24 | } 25 | 26 | public function generate() 27 | { 28 | $provider = $this->provider; 29 | 30 | return array_map( 31 | function () use ($provider) { 32 | return $provider->generate(); 33 | }, 34 | range(0, $this->size - 1) 35 | ); 36 | } 37 | 38 | public function count() 39 | { 40 | return $this->size; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/asserters/testedClass.php: -------------------------------------------------------------------------------- 1 | testedClass->isSubclassOf(atoum\asserters\phpClass::class); 16 | } 17 | 18 | public function testSetWith() 19 | { 20 | $this 21 | ->if($asserter = new asserters\testedClass(new asserter\generator())) 22 | ->then 23 | ->exception(function () use ($asserter) { 24 | $asserter->setWith(uniqid()); 25 | }) 26 | ->isInstanceOf(atoum\exceptions\logic\badMethodCall::class) 27 | ->hasMessage('Unable to call method ' . get_class($asserter) . '::setWith()') 28 | ; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/.php_cs: -------------------------------------------------------------------------------- 1 | files() 7 | ->name(__FILE__) 8 | ->name('*.php') 9 | ->name('*.php.dist') 10 | ->in(__DIR__) 11 | ; 12 | 13 | return 14 | CS\Config::create() 15 | ->setRules([ 16 | '@PSR2' => true, 17 | 'array_syntax' => ['syntax' => 'short'], 18 | 'blank_line_after_opening_tag' => true, 19 | 'concat_space' => ['spacing' => 'one'], 20 | 'native_function_casing' => true, 21 | 'no_blank_lines_after_class_opening' => true, 22 | 'no_unused_imports' => true, 23 | 'no_whitespace_in_blank_line' => true, 24 | 'ordered_imports' => true, 25 | 'phpdoc_no_access' => true, 26 | ]) 27 | ->setFinder($finder) 28 | ; 29 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/test/travis/stop.php: -------------------------------------------------------------------------------- 1 | observable)); 22 | $duration = self::time($this->observable->getScore()->getTotalDuration()); 23 | 24 | return 'travis_time:end:' . $slug . ':duration=' . $duration . PHP_EOL . 'travis_fold:end:' . $slug . PHP_EOL; 25 | } 26 | 27 | public function handleEvent($event, atoum\observable $observable) 28 | { 29 | $this->event = $event; 30 | $this->observable = $observable; 31 | 32 | return parent::handleEvent($event, $observable); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/asserters/template/parser/exception.php: -------------------------------------------------------------------------------- 1 | valueIsSet()->value->getErrorLine() === $line) { 13 | return $this->pass(); 14 | } else { 15 | $this->fail($failMessage !== null ? $failMessage : sprintf($this->getLocale()->_('Line is %s instead of %s'), $this->value->getErrorLine(), $line)); 16 | } 17 | } 18 | 19 | public function hasErrorOffset($offset, $failMessage = null) 20 | { 21 | if ($this->valueIsSet()->value->getErrorOffset() === $offset) { 22 | return $this->pass(); 23 | } else { 24 | $this->fail($failMessage !== null ? $failMessage : sprintf($this->getLocale()->_('Offset is %s instead of %s'), $this->value->getErrorOffset(), $offset)); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/readers/std/in.php: -------------------------------------------------------------------------------- 1 | init(); 15 | 16 | // fgets() must be called without any second argument if $length is null to avoid message "Warning: fgets(): Length parameter must be greater than 0" 17 | return ($length === null ? $this->adapter->fgets($this->resource) : $this->adapter->fgets($this->resource, $length)); 18 | } 19 | 20 | protected function init() 21 | { 22 | if ($this->resource === null) { 23 | $resource = $this->adapter->fopen('php://stdin', 'r'); 24 | 25 | if ($resource === false) { 26 | throw new exceptions\runtime('Unable to open php://stdin stream'); 27 | } 28 | 29 | $this->resource = $resource; 30 | } 31 | 32 | return $this; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/test/event/phing.php: -------------------------------------------------------------------------------- 1 | event) { 13 | case atoum\test::runStart: 14 | return '['; 15 | 16 | case atoum\test::runStop: 17 | return '] '; 18 | 19 | case atoum\test::success: 20 | return 'S'; 21 | 22 | case atoum\test::void: 23 | return '0'; 24 | 25 | case atoum\test::uncompleted: 26 | return 'U'; 27 | 28 | case atoum\test::fail: 29 | return 'F'; 30 | 31 | case atoum\test::error: 32 | return 'e'; 33 | 34 | case atoum\test::exception: 35 | return 'E'; 36 | 37 | default: 38 | return ''; 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/asserters/adapter/call/manager.php: -------------------------------------------------------------------------------- 1 | calls = new \splObjectStorage(); 14 | } 15 | 16 | public function add(adapter\call $call) 17 | { 18 | $this->calls->attach($call); 19 | 20 | return $this; 21 | } 22 | 23 | public function remove(adapter\call $call) 24 | { 25 | $this->calls->detach($call); 26 | 27 | return $this; 28 | } 29 | 30 | public function check() 31 | { 32 | if (count($this->calls) > 0) { 33 | $this->calls->rewind(); 34 | 35 | $call = $this->calls->current(); 36 | 37 | throw new manager\exception('Asserter ' . get_class($call) . ' is not evaluated in file \'' . $call->getLastAssertionFile() . '\' on line ' . $call->getLastAssertionLine()); 38 | } 39 | 40 | return $this; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/tests/duration.php: -------------------------------------------------------------------------------- 1 | value; 22 | } 23 | 24 | public function getTestNumber() 25 | { 26 | return $this->testNumber; 27 | } 28 | 29 | public function handleEvent($event, atoum\observable $observable) 30 | { 31 | if (parent::handleEvent($event, $observable) === false) { 32 | return false; 33 | } else { 34 | $this->value = $observable->getScore()->getTotalDuration(); 35 | $this->testNumber = $observable->getTestNumber(); 36 | 37 | return true; 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/tests/memory.php: -------------------------------------------------------------------------------- 1 | value; 22 | } 23 | 24 | public function getTestNumber() 25 | { 26 | return $this->testNumber; 27 | } 28 | 29 | public function handleEvent($event, atoum\observable $observable) 30 | { 31 | if (parent::handleEvent($event, $observable) === false) { 32 | return false; 33 | } else { 34 | $this->value = $observable->getScore()->getTotalMemoryUsage(); 35 | $this->testNumber = $observable->getTestNumber(); 36 | 37 | return true; 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/scripts/treemap/analyzers/token.php: -------------------------------------------------------------------------------- 1 | write($event); 13 | 14 | if ($event === atoum\runner::runStop) { 15 | foreach ($this->writers as $writer) { 16 | $writer->reset(); 17 | } 18 | } 19 | 20 | return $this; 21 | } 22 | 23 | public function addWriter(report\writers\realtime $writer) 24 | { 25 | return $this->doAddWriter($writer); 26 | } 27 | 28 | public function isOverridableBy(report $report) 29 | { 30 | return ($report instanceof self) === false; 31 | } 32 | 33 | protected function write($event) 34 | { 35 | foreach ($this->writers as $writer) { 36 | $writer->writeRealtimeReport($this, $event); 37 | } 38 | 39 | return $this; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/field.php: -------------------------------------------------------------------------------- 1 | events = $events; 15 | 16 | $this->setLocale(); 17 | } 18 | 19 | public function setLocale(atoum\locale $locale = null) 20 | { 21 | $this->locale = $locale ?: new atoum\locale(); 22 | 23 | return $this; 24 | } 25 | 26 | public function getLocale() 27 | { 28 | return $this->locale; 29 | } 30 | 31 | public function getEvents() 32 | { 33 | return $this->events; 34 | } 35 | 36 | public function canHandleEvent($event) 37 | { 38 | return ($this->events === null ? true : in_array($event, $this->events)); 39 | } 40 | 41 | public function handleEvent($event, atoum\observable $observable) 42 | { 43 | return $this->canHandleEvent($event); 44 | } 45 | 46 | abstract public function __toString(); 47 | } 48 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/cli/prompt.php: -------------------------------------------------------------------------------- 1 | setValue($value) 18 | ->setColorizer($colorizer) 19 | ; 20 | } 21 | 22 | public function __toString() 23 | { 24 | return $this->colorizer->colorize($this->value); 25 | } 26 | 27 | public function setValue($value) 28 | { 29 | $this->value = (string) $value; 30 | 31 | return $this; 32 | } 33 | 34 | public function getValue() 35 | { 36 | return $this->value; 37 | } 38 | 39 | public function setColorizer(colorizer $colorizer) 40 | { 41 | $this->colorizer = $colorizer; 42 | 43 | return $this; 44 | } 45 | 46 | public function getColorizer() 47 | { 48 | return $this->colorizer; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/resources/configurations/ci/.travis.php.dist: -------------------------------------------------------------------------------- 1 | addDefaultReport(); 10 | 11 | if (file_exists(__DIR__ . '/vendor/autoload.php') === true) 12 | { 13 | require_once __DIR__ . '/vendor/autoload.php'; 14 | } 15 | 16 | $sources = 'classes'; 17 | $token = getenv('COVERALLS_REPO_TOKEN') ?: null; 18 | $coverallsReport = new reports\asynchronous\coveralls($sources, $token); 19 | 20 | $defaultFinder = $coverallsReport->getBranchFinder(); 21 | $coverallsReport 22 | ->setBranchFinder(function() use ($defaultFinder) { 23 | if (($branch = getenv('TRAVIS_BRANCH')) === false) 24 | { 25 | $branch = $defaultFinder(); 26 | } 27 | 28 | return $branch; 29 | }) 30 | ->setServiceName(getenv('TRAVIS') ? 'travis-ci' : null) 31 | ->setServiceJobId(getenv('TRAVIS_JOB_ID') ?: null) 32 | ->addDefaultWriter() 33 | ; 34 | 35 | $runner->addReport($coverallsReport); 36 | $script->php('php -dxdebug.overload_var_dump=0'); 37 | 38 | $script->testIt(); 39 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 Zeyu (James) Guo 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/asserters/boolean.php: -------------------------------------------------------------------------------- 1 | {$property}(); 13 | 14 | default: 15 | return parent::__get($property); 16 | } 17 | } 18 | 19 | public function setWith($value) 20 | { 21 | parent::setWith($value); 22 | 23 | if ($this->analyzer->isBoolean($this->value) === true) { 24 | $this->pass(); 25 | } else { 26 | $this->fail($this->_('%s is not a boolean', $this)); 27 | } 28 | 29 | return $this; 30 | } 31 | 32 | public function isTrue($failMessage = null) 33 | { 34 | return $this->isEqualTo(true, $failMessage ?: $this->_('%s is not true', $this)); 35 | } 36 | 37 | public function isFalse($failMessage = null) 38 | { 39 | return $this->isEqualTo(false, $failMessage ?: $this->_('%s is not false', $this)); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/reports/asynchronous/xunit/resources/2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /univs/vendor/composer/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | Copyright (c) Nils Adermann, Jordi Boggiano 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining a copy 5 | of this software and associated documentation files (the "Software"), to deal 6 | in the Software without restriction, including without limitation the rights 7 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the Software is furnished 9 | to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in all 12 | copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 | THE SOFTWARE. 21 | 22 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/php.php: -------------------------------------------------------------------------------- 1 | adapter->defined('PHP_BINARY') === true) { 11 | $phpPath = $this->adapter->constant('PHP_BINARY'); 12 | } 13 | 14 | if ($phpPath === null) { 15 | $phpPath = $this->adapter->getenv('PHP_PEAR_PHP_BIN'); 16 | 17 | if ($phpPath === false) { 18 | $phpPath = $this->adapter->getenv('PHPBIN'); 19 | 20 | if ($phpPath === false) { 21 | $phpDirectory = $this->adapter->constant('PHP_BINDIR'); 22 | 23 | if ($phpDirectory === null) { 24 | throw new exceptions\runtime('Unable to find PHP executable'); 25 | } 26 | 27 | $phpPath = $phpDirectory . '/php'; 28 | } 29 | } 30 | } 31 | } 32 | 33 | return parent::setBinaryPath($phpPath); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Where’s My Offer? 2 | 3 | University Admission Portal Checker 4 | 5 | This program can check the portal for each university automatically. Just set up your username and password, and run `check.php`. 6 | 7 | You have to make two dictionaries, `/opt/admit` and `/opt/cookies`. This program will store the data here to identify changes. 8 | 9 | You can set up an IFTTT webhook trigger, or any webhook service, and then forward the message to app notification or phone call. Plus, you should also add `check.php` as a cron job to run the script periodically. 10 | 11 | ABSOLUTELY NO GUARANTEE. USE IT AT YOUR OWN RISK. 12 | 13 | Supported Universities: 14 | 15 | + UIUC 16 | + UMich 17 | + UNC 18 | + USC 19 | + UBC 20 | + OSU 21 | + WISC 22 | + CMU 23 | + Purdue 24 | + WUSTL 25 | + Cornell 26 | + JHU 27 | 28 | Supported Others: 29 | 30 | + MCM/ICM Contest 31 | 32 | And more to come. 33 | 34 | Features: 35 | 36 | + Check current status (incomplete, complete, admitted, rejected, etc.). 37 | + Public `admit.php` to let everyone know your status. 38 | + Redirect emails to `admit_webhook.php` to update from emails. 39 | + Check missing materials. 40 | + And any update in the portal. 41 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/reader.php: -------------------------------------------------------------------------------- 1 | testedClass->isAbstract(); 15 | } 16 | 17 | public function test__construct() 18 | { 19 | $this 20 | ->if($this->newTestedInstance) 21 | ->then 22 | ->object($this->testedInstance->getAdapter())->isEqualTo(new atoum\adapter()) 23 | ->if($this->newTestedInstance($adapter = new atoum\adapter())) 24 | ->then 25 | ->object($this->testedInstance->getAdapter())->isIdenticalTo($adapter) 26 | ; 27 | } 28 | 29 | public function testSetAdapter() 30 | { 31 | $this 32 | ->if($this->newTestedInstance) 33 | ->then 34 | ->object($this->testedInstance->setAdapter($adapter = new atoum\adapter()))->isTestedInstance 35 | ->object($this->testedInstance->getAdapter())->isIdenticalTo($adapter) 36 | ; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/mock/controller/invoker.php: -------------------------------------------------------------------------------- 1 | mock = $mock; 17 | } 18 | 19 | public function __get($property) 20 | { 21 | switch (strtolower($property)) { 22 | case 'isfluent': 23 | return $this->isFluent(); 24 | 25 | default: 26 | return parent::__get($property); 27 | } 28 | } 29 | 30 | public function setMock(mock\aggregator $mock) 31 | { 32 | $this->mock = $mock; 33 | 34 | return $this; 35 | } 36 | 37 | public function getMock() 38 | { 39 | return $this->mock; 40 | } 41 | 42 | public function isFluent() 43 | { 44 | $mock = $this->mock; 45 | 46 | return $this->setClosure(function () use ($mock) { 47 | return $mock; 48 | }); 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/test/data/provider/aggregator.php: -------------------------------------------------------------------------------- 1 | generate(); 14 | } 15 | 16 | public function __toString() 17 | { 18 | $types = array_map( 19 | function (provider $provider) { 20 | return $provider->__toString(); 21 | }, 22 | $this->providers 23 | ); 24 | 25 | return __CLASS__ . '<' . implode(', ', $types) . '>'; 26 | } 27 | 28 | public function generate() 29 | { 30 | $data = []; 31 | 32 | foreach ($this->providers as $provider) { 33 | $data[] = $provider->generate(); 34 | } 35 | 36 | return $data; 37 | } 38 | 39 | public function addProvider(provider $provider) 40 | { 41 | $this->providers[] = $provider; 42 | 43 | return $this; 44 | } 45 | 46 | public function count() 47 | { 48 | return count($this->providers); 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/reports/realtime/tap.php: -------------------------------------------------------------------------------- 1 | testedClass 16 | ->extends(atoum\reports\realtime::class) 17 | ; 18 | } 19 | 20 | public function test__construct() 21 | { 22 | $this 23 | ->define($planField = new fields\runner\tap\plan()) 24 | ->define($eventField = new fields\test\event\tap()) 25 | ->if($report = new testedClass()) 26 | ->then 27 | ->object($report->getLocale())->isEqualTo(new atoum\locale()) 28 | ->object($report->getAdapter())->isEqualTo(new atoum\adapter()) 29 | ->array($report->getFields())->isEqualTo( 30 | [ 31 | $planField, 32 | $eventField 33 | ] 34 | ) 35 | ; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/locale.php: -------------------------------------------------------------------------------- 1 | set($value); 13 | } 14 | } 15 | 16 | public function __toString() 17 | { 18 | return ($this->value === null ? 'unknown' : $this->value); 19 | } 20 | 21 | public function set($value) 22 | { 23 | $this->value = (string) $value; 24 | 25 | return $this; 26 | } 27 | 28 | public function get() 29 | { 30 | return $this->value; 31 | } 32 | 33 | public function _($string, ...$arguments) 34 | { 35 | return self::format($string, $arguments); 36 | } 37 | 38 | public function __($singular, $plural, $quantity, ...$arguments) 39 | { 40 | return self::format($quantity <= 1 ? $singular : $plural, $arguments); 41 | } 42 | 43 | private static function format($string, $arguments) 44 | { 45 | if (count($arguments) > 0) { 46 | $string = vsprintf($string, $arguments); 47 | } 48 | 49 | return $string; 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/test/engines/inline.php: -------------------------------------------------------------------------------- 1 | setScore(); 20 | } 21 | 22 | public function setScore(atoum\test\score $score = null) 23 | { 24 | $this->score = $score ?: new atoum\test\score(); 25 | 26 | return $this; 27 | } 28 | 29 | public function getScore() 30 | { 31 | return $this->score; 32 | } 33 | 34 | public function run(atoum\test $test) 35 | { 36 | $currentTestMethod = $test->getCurrentMethod(); 37 | 38 | if ($currentTestMethod !== null) { 39 | $testScore = $test->getScore(); 40 | 41 | $test 42 | ->setScore($this->score->reset()) 43 | ->runTestMethod($currentTestMethod) 44 | ->setScore($testScore) 45 | ; 46 | } 47 | 48 | return $this; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/test/asserter/generator.php: -------------------------------------------------------------------------------- 1 | getLocale(), $resolver); 15 | 16 | $this->test = $test; 17 | } 18 | 19 | public function __get($property) 20 | { 21 | return $this->test->__get($property); 22 | } 23 | 24 | public function __call($method, $arguments) 25 | { 26 | return $this->test->__call($method, $arguments); 27 | } 28 | 29 | public function setTest(atoum\test $test) 30 | { 31 | $this->test = $test; 32 | 33 | return $this->setLocale($test->getLocale()); 34 | } 35 | 36 | public function getTest() 37 | { 38 | return $this->test; 39 | } 40 | 41 | public function getAsserterInstance($asserter, array $arguments = [], atoum\test $test = null) 42 | { 43 | return parent::getAsserterInstance($asserter, $arguments, $test ?: $this->test); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/cli.php: -------------------------------------------------------------------------------- 1 | adapter = $adapter ?: new adapter(); 14 | } 15 | 16 | public function isTerminal() 17 | { 18 | $isTerminal = self::$isTerminal; 19 | 20 | if ($isTerminal === null) { 21 | $isTerminal = $this->adapter->defined('STDOUT'); 22 | 23 | if ($isTerminal === true) { 24 | $stdoutStat = $this->adapter->fstat($this->adapter->constant('STDOUT')); 25 | 26 | $isTerminal = (($stdoutStat['mode'] & 0170000) === 0020000); // See for more information. 27 | 28 | if ($isTerminal === true && $this->adapter->defined('PHP_WINDOWS_VERSION_BUILD') === true) { 29 | $isTerminal = ($isTerminal && $this->adapter->getenv('ANSICON') == true); 30 | } 31 | } 32 | } 33 | 34 | return $isTerminal; 35 | } 36 | 37 | public static function forceTerminal() 38 | { 39 | self::$isTerminal = true; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/php/tokenizer/iterator/value.php: -------------------------------------------------------------------------------- 1 | parent !== null) { 14 | throw new exceptions\runtime('Parent is already set'); 15 | } 16 | 17 | $parent->append($this); 18 | 19 | return $this; 20 | } 21 | 22 | public function getParent() 23 | { 24 | return $this->parent; 25 | } 26 | 27 | public function getRoot() 28 | { 29 | $root = null; 30 | 31 | $parent = $this->getParent(); 32 | 33 | while ($parent !== null) { 34 | $root = $parent; 35 | 36 | $parent = $parent->getParent(); 37 | } 38 | 39 | return $root; 40 | } 41 | 42 | abstract public function __toString(); 43 | abstract public function prev(); 44 | abstract public function end(); 45 | abstract public function append(self $value); 46 | abstract public function getValue(); 47 | abstract public function seek($key); 48 | } 49 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/field/decorator.php: -------------------------------------------------------------------------------- 1 | field = $field; 15 | } 16 | 17 | public function __toString() 18 | { 19 | return $this->decorate($this->field->__toString()); 20 | } 21 | 22 | public function setLocale(atoum\locale $locale = null) 23 | { 24 | $this->field->setLocale($locale); 25 | 26 | return $this; 27 | } 28 | 29 | public function getLocale() 30 | { 31 | return $this->field->getLocale(); 32 | } 33 | 34 | public function getEvents() 35 | { 36 | return $this->field->getEvents(); 37 | } 38 | 39 | public function canHandleEvent($event) 40 | { 41 | return $this->field->canHandleEvent($event); 42 | } 43 | 44 | public function handleEvent($event, atoum\observable $observable) 45 | { 46 | return $this->field->handleEvent($event, $observable); 47 | } 48 | 49 | abstract public function decorate($string); 50 | } 51 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/php/tokenizer/iterators/phpNamespace.php: -------------------------------------------------------------------------------- 1 | testedClass 17 | ->isSubClassOf(atoum\php\tokenizer\iterator::class) 18 | ; 19 | } 20 | 21 | public function testAppendClass() 22 | { 23 | $this 24 | ->if( 25 | $this->newTestedInstance, 26 | $phpClass = new iterators\phpClass(), 27 | $phpClass 28 | ->append($token1 = new tokenizer\token(uniqid())) 29 | ->append($token2 = new tokenizer\token(uniqid())) 30 | ) 31 | ->object($this->testedInstance->appendClass($phpClass))->isTestedInstance 32 | ->array($this->testedInstance->getClasses())->isEqualTo([$phpClass]) 33 | ->castToString($this->testedInstance)->isEqualTo($token1 . $token2) 34 | ; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/report/field/decorator/travis/fold.php: -------------------------------------------------------------------------------- 1 | testedClass->extends(atoum\report\field\decorator::class); 14 | } 15 | 16 | public function testDecorate(atoum\report\field $field) 17 | { 18 | $this 19 | ->given($this->calling($field)->__toString->doesNothing) 20 | ->if($this->newTestedInstance($field, $slug = uniqid())) 21 | ->then 22 | ->castToString($this->testedInstance)->isEmpty 23 | ->if($this->calling($field)->__toString = $string = uniqid()) 24 | ->then 25 | ->castToString($this->testedInstance)->isEqualTo($string) 26 | ->if($this->calling($field)->__toString = $string = (uniqid() . PHP_EOL . uniqid() . PHP_EOL)) 27 | ->then 28 | ->castToString($this->testedInstance)->isEqualTo('travis_fold:start:' . $slug . PHP_EOL . $string . 'travis_fold:end:' . $slug . PHP_EOL) 29 | ; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/script/prompt.php: -------------------------------------------------------------------------------- 1 | setInputReader() 19 | ->setOutputWriter() 20 | ; 21 | } 22 | 23 | public function getInputReader() 24 | { 25 | return $this->inputReader; 26 | } 27 | 28 | public function setInputReader(reader $inputReader = null) 29 | { 30 | $this->inputReader = $inputReader ?: new std\in(); 31 | 32 | return $this; 33 | } 34 | 35 | public function getOutputWriter() 36 | { 37 | return $this->outputWriter; 38 | } 39 | 40 | public function setOutputWriter(writer $writer = null) 41 | { 42 | $this->outputWriter = $writer ?: new writers\std\out(); 43 | 44 | return $this; 45 | } 46 | 47 | public function ask($message) 48 | { 49 | $this->outputWriter->write($message); 50 | 51 | return $this->inputReader->read(); 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /univs/vendor/tecnickcom/tcpdf/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tecnickcom/tcpdf", 3 | "version": "6.3.5", 4 | "homepage": "http://www.tcpdf.org/", 5 | "type": "library", 6 | "description": "TCPDF is a PHP class for generating PDF documents and barcodes.", 7 | "keywords": [ 8 | "PDF", 9 | "tcpdf", 10 | "PDFD32000-2008", 11 | "qrcode", 12 | "datamatrix", 13 | "pdf417", 14 | "barcodes" 15 | ], 16 | "license": "LGPL-3.0-only", 17 | "authors": [ 18 | { 19 | "name": "Nicola Asuni", 20 | "email": "info@tecnick.com", 21 | "role": "lead" 22 | } 23 | ], 24 | "require": { 25 | "php": ">=5.3.0" 26 | }, 27 | "autoload": { 28 | "classmap": [ 29 | "config", 30 | "include", 31 | "tcpdf.php", 32 | "tcpdf_parser.php", 33 | "tcpdf_import.php", 34 | "tcpdf_barcodes_1d.php", 35 | "tcpdf_barcodes_2d.php", 36 | "include/tcpdf_colors.php", 37 | "include/tcpdf_filters.php", 38 | "include/tcpdf_font_data.php", 39 | "include/tcpdf_fonts.php", 40 | "include/tcpdf_images.php", 41 | "include/tcpdf_static.php", 42 | "include/barcodes/datamatrix.php", 43 | "include/barcodes/pdf417.php", 44 | "include/barcodes/qrcode.php" 45 | ] 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/resources/phing/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/test/adapter/call/decorator.php: -------------------------------------------------------------------------------- 1 | setArgumentsDecorator(); 14 | } 15 | 16 | public function getArgumentsDecorator() 17 | { 18 | return $this->argumentsDecorator; 19 | } 20 | 21 | public function setArgumentsDecorator(arguments\decorator $decorator = null) 22 | { 23 | $this->argumentsDecorator = $decorator ?: new arguments\decorator(); 24 | 25 | return $this; 26 | } 27 | 28 | public function decorate(call $call) 29 | { 30 | $string = ''; 31 | 32 | $function = $call->getFunction(); 33 | 34 | if ($function !== null) { 35 | $string = $function . '('; 36 | 37 | $arguments = $call->getArguments(); 38 | 39 | if ($arguments === null) { 40 | $string .= '*'; 41 | } else { 42 | $string .= $this->argumentsDecorator->decorate($call->getArguments()); 43 | } 44 | 45 | $string .= ')'; 46 | } 47 | 48 | return $string; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/atoum.php: -------------------------------------------------------------------------------- 1 | author; 24 | } 25 | 26 | public function getVersion() 27 | { 28 | return $this->version; 29 | } 30 | 31 | public function getPath() 32 | { 33 | return $this->path; 34 | } 35 | 36 | public function handleEvent($event, \mageekguy\atoum\observable $observable) 37 | { 38 | if (parent::handleEvent($event, $observable) === false) { 39 | return false; 40 | } else { 41 | $this->author = \mageekguy\atoum\author; 42 | $this->path = $observable->getScore()->getAtoumPath(); 43 | $this->version = $observable->getScore()->getAtoumVersion(); 44 | 45 | return true; 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/iterators/filters/recursives/closure.php: -------------------------------------------------------------------------------- 1 | addClosure($c); 16 | } 17 | } 18 | } 19 | 20 | public function addClosure(\closure $closure) 21 | { 22 | $this->closures[] = $closure; 23 | 24 | return $this; 25 | } 26 | 27 | public function getClosures() 28 | { 29 | return $this->closures; 30 | } 31 | 32 | public function accept() 33 | { 34 | foreach ($this->closures as $closure) { 35 | if ($closure($this->current(), $this->key(), $this->getInnerIterator()) === false) { 36 | return false; 37 | } 38 | } 39 | 40 | return true; 41 | } 42 | 43 | public function getChildren() 44 | { 45 | return new static( 46 | $this->getInnerIterator()->getChildren(), 47 | $this->closures 48 | ); 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/mailers/mail.php: -------------------------------------------------------------------------------- 1 | to === null) { 15 | throw new exceptions\runtime('To is undefined'); 16 | } 17 | 18 | if ($this->subject === null) { 19 | throw new exceptions\runtime('Subject is undefined'); 20 | } 21 | 22 | if ($this->from === null) { 23 | throw new exceptions\runtime('From is undefined'); 24 | } 25 | 26 | if ($this->replyTo === null) { 27 | throw new exceptions\runtime('Reply to is undefined'); 28 | } 29 | 30 | if ($this->xMailer === null) { 31 | throw new exceptions\runtime('X-mailer is undefined'); 32 | } 33 | 34 | $headers = 'From: ' . $this->from . self::eol . 'Reply-To: ' . $this->replyTo . self::eol . 'X-Mailer: ' . $this->xMailer; 35 | 36 | if ($this->contentType !== null) { 37 | $headers .= self::eol . 'Content-Type: ' . $this->contentType[0] . '; charset="' . $this->contentType[1] . '"'; 38 | } 39 | 40 | $this->adapter->mail($this->to, $this->subject, (string) $something, $headers); 41 | 42 | return $this; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/functionals/classes/test/annotations/ignore.php: -------------------------------------------------------------------------------- 1 | string(uniqid()); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/runner/atoum/cli.php: -------------------------------------------------------------------------------- 1 | setPrompt() 20 | ->setColorizer() 21 | ; 22 | } 23 | 24 | public function __toString() 25 | { 26 | return ($this->author === null || $this->version === null ? '' : $this->prompt . $this->colorizer->colorize($this->locale->_('atoum version %s by %s (%s)', $this->version, $this->author, $this->path)) . PHP_EOL); 27 | } 28 | 29 | public function setPrompt(prompt $prompt = null) 30 | { 31 | $this->prompt = $prompt ?: new prompt; 32 | 33 | return $this; 34 | } 35 | 36 | public function getPrompt() 37 | { 38 | return $this->prompt; 39 | } 40 | 41 | public function setColorizer(colorizer $colorizer = null) 42 | { 43 | $this->colorizer = $colorizer ?: new colorizer(); 44 | 45 | return $this; 46 | } 47 | 48 | public function getColorizer() 49 | { 50 | return $this->colorizer; 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/report/fields/runner/tap/plan.php: -------------------------------------------------------------------------------- 1 | testedClass->extends(atoum\report\field::class); 16 | } 17 | 18 | public function test__construct() 19 | { 20 | $this 21 | ->if($field = new testedClass()) 22 | ->then 23 | ->array($field->getEvents())->isEqualTo([runner::runStart]) 24 | ; 25 | } 26 | 27 | public function test__toString() 28 | { 29 | $this 30 | ->if($runner = new \mock\mageekguy\atoum\runner()) 31 | ->and($this->calling($runner)->getTestMethodNumber = $testMethodNumber = rand(1, PHP_INT_MAX)) 32 | ->and($field = new testedClass()) 33 | ->if($field->handleEvent(runner::runStop, $runner)) 34 | ->then 35 | ->castToString($field)->isEmpty() 36 | ->if($field->handleEvent(runner::runStart, $runner)) 37 | ->then 38 | ->castToString($field)->isEqualTo('1..' . $testMethodNumber . PHP_EOL) 39 | ; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/php/tokenizer/iterators/phpFunction.php: -------------------------------------------------------------------------------- 1 | findTag(T_FUNCTION); 17 | 18 | if ($key !== null) { 19 | $this->goToNextTagWhichIsNot([T_WHITESPACE, T_COMMENT]); 20 | 21 | $token = $this->current(); 22 | 23 | if ($token !== null && $token->getTag() === T_STRING) { 24 | $name = $token->getValue(); 25 | } 26 | } 27 | 28 | return $name; 29 | } 30 | 31 | public function reset() 32 | { 33 | $this->arguments = []; 34 | 35 | return parent::reset(); 36 | } 37 | 38 | public function appendArgument(iterators\phpArgument $phpArgument) 39 | { 40 | $this->arguments[] = $phpArgument; 41 | 42 | return $this->append($phpArgument); 43 | } 44 | 45 | public function getArguments() 46 | { 47 | return $this->arguments; 48 | } 49 | 50 | public function getArgument($index) 51 | { 52 | return (isset($this->arguments[$index]) === false ? null : $this->arguments[$index]); 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /univs/src/Smalot/PdfParser/Font/FontType0.php: -------------------------------------------------------------------------------- 1 | 8 | * @date 2017-01-03 9 | * @license LGPLv3 10 | * @url 11 | * 12 | * PdfParser is a pdf library written in PHP, extraction oriented. 13 | * Copyright (C) 2017 - Sébastien MALOT 14 | * 15 | * This program is free software: you can redistribute it and/or modify 16 | * it under the terms of the GNU Lesser General Public License as published by 17 | * the Free Software Foundation, either version 3 of the License, or 18 | * (at your option) any later version. 19 | * 20 | * This program is distributed in the hope that it will be useful, 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 | * GNU Lesser General Public License for more details. 24 | * 25 | * You should have received a copy of the GNU Lesser General Public License 26 | * along with this program. 27 | * If not, see . 28 | * 29 | */ 30 | 31 | namespace Smalot\PdfParser\Font; 32 | 33 | use Smalot\PdfParser\Font; 34 | 35 | /** 36 | * Class FontType0 37 | * 38 | * @package Smalot\PdfParser\Font 39 | */ 40 | class FontType0 extends Font 41 | { 42 | } 43 | -------------------------------------------------------------------------------- /univs/src/Smalot/PdfParser/Font/FontType1.php: -------------------------------------------------------------------------------- 1 | 8 | * @date 2017-01-03 9 | * @license LGPLv3 10 | * @url 11 | * 12 | * PdfParser is a pdf library written in PHP, extraction oriented. 13 | * Copyright (C) 2017 - Sébastien MALOT 14 | * 15 | * This program is free software: you can redistribute it and/or modify 16 | * it under the terms of the GNU Lesser General Public License as published by 17 | * the Free Software Foundation, either version 3 of the License, or 18 | * (at your option) any later version. 19 | * 20 | * This program is distributed in the hope that it will be useful, 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 | * GNU Lesser General Public License for more details. 24 | * 25 | * You should have received a copy of the GNU Lesser General Public License 26 | * along with this program. 27 | * If not, see . 28 | * 29 | */ 30 | 31 | namespace Smalot\PdfParser\Font; 32 | 33 | use Smalot\PdfParser\Font; 34 | 35 | /** 36 | * Class FontType1 37 | * 38 | * @package Smalot\PdfParser\Font 39 | */ 40 | class FontType1 extends Font 41 | { 42 | } 43 | -------------------------------------------------------------------------------- /univs/src/Smalot/PdfParser/Font/FontType3.php: -------------------------------------------------------------------------------- 1 | 8 | * @date 2017-01-03 9 | * @license LGPLv3 10 | * @url 11 | * 12 | * PdfParser is a pdf library written in PHP, extraction oriented. 13 | * Copyright (C) 2017 - Sébastien MALOT 14 | * 15 | * This program is free software: you can redistribute it and/or modify 16 | * it under the terms of the GNU Lesser General Public License as published by 17 | * the Free Software Foundation, either version 3 of the License, or 18 | * (at your option) any later version. 19 | * 20 | * This program is distributed in the hope that it will be useful, 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 | * GNU Lesser General Public License for more details. 24 | * 25 | * You should have received a copy of the GNU Lesser General Public License 26 | * along with this program. 27 | * If not, see . 28 | * 29 | */ 30 | 31 | namespace Smalot\PdfParser\Font; 32 | 33 | use Smalot\PdfParser\Font; 34 | 35 | /** 36 | * Class FontType3 37 | * 38 | * @package Smalot\PdfParser\Font 39 | */ 40 | class FontType3 extends Font 41 | { 42 | } 43 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | php: 3 | - 5.6 4 | - 7.0 5 | - 7.1 6 | - 7.2 7 | - 7.3 8 | - 7.4snapshot 9 | - nightly 10 | cache: 11 | directories: 12 | - vendor 13 | matrix: 14 | allow_failures: 15 | - php: nightly 16 | - php: 7.4snapshot 17 | notifications: 18 | irc: "irc.freenode.org##atoum" 19 | webhooks: 20 | urls: 21 | - https://webhooks.gitter.im/e/bcb8350326a64f8fd270 22 | on_success: change 23 | on_failure: always 24 | on_start: never 25 | env: 26 | global: 27 | - secure: "vJ1TnFhU9muqLwkiBd13lFqdPJIrwKJ5OJjR3/jQROWQsRO4NPd/I7OfdDKk\noJGYbgjGMw7bmBYI0xjhYfZAnrClwIBvn1Qx5x5UDGxTHC8ZP6xs49AGa37I\n7BJlWC7+nRwPmmLhoLsbut/O7Kkn8IkdJIeChHbdn8RHQIJTJ4Y=" 28 | sudo: false 29 | before_script: 30 | - cp resources/configurations/ci/.travis.php.dist .atoum.php 31 | script: 32 | - bin/atoum 33 | - phpenv config-rm xdebug.ini || return 0 34 | - mkdir ../phar 35 | - php -n -dphar.readonly=Off scripts/phar/generator.php -d ../phar 36 | - php -n -ddate.timezone=Europe/Paris ../phar/atoum.phar --test-it -ncc -c .atoum.php 37 | deploy: 38 | provider: releases 39 | api_key: 40 | secure: lmt12noTXqP/X7a71FffP/lIJR+9sX6vrE7gIdTHroMqfxh2x3u8w1NBs3+npa9lq00Fi2UZiWJY7BurdsTokM75ZqXZAjlC42KCZGLiXKMQZcei5nOdKhKWZ06FSVMFlxf6dhknsMgJjeNmDGVSXhDnN2ZuPnf68may/o/nLaA= 41 | file: ../phar/atoum.phar 42 | skip_cleanup: true 43 | on: 44 | tags: true 45 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/test/adapter/storage.php: -------------------------------------------------------------------------------- 1 | reset(); 14 | } 15 | 16 | public function count() 17 | { 18 | return count($this->adapters); 19 | } 20 | 21 | public function add(adapter $adapter) 22 | { 23 | if ($this->contains($adapter) === false) { 24 | $this->adapters->attach($adapter); 25 | } 26 | 27 | return $this; 28 | } 29 | 30 | public function contains(adapter $adapter) 31 | { 32 | return $this->adapters->contains($adapter); 33 | } 34 | 35 | public function reset() 36 | { 37 | $this->adapters = new \splObjectStorage(); 38 | 39 | return $this; 40 | } 41 | 42 | public function getIterator() 43 | { 44 | $adapters = []; 45 | 46 | foreach ($this->adapters as $instance) { 47 | $adapters[] = $instance; 48 | } 49 | 50 | return new \arrayIterator($adapters); 51 | } 52 | 53 | public function resetCalls() 54 | { 55 | foreach ($this->adapters as $adapter) { 56 | $adapter->resetCalls(); 57 | } 58 | 59 | return $this; 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/mock/streams/fs/directory/controller.php: -------------------------------------------------------------------------------- 1 | setPermissions('755'); 14 | } 15 | 16 | public function setPermissions($permissions) 17 | { 18 | return parent::setPermissions(0400000 | octdec($permissions)); 19 | } 20 | 21 | public function getContents() 22 | { 23 | return []; 24 | } 25 | 26 | public function mkdir($path, $mode, $options) 27 | { 28 | if ($this->exists === true) { 29 | return false; 30 | } else { 31 | $this->setPermissions($mode)->exists = true; 32 | 33 | return true; 34 | } 35 | } 36 | 37 | public function rmdir($path, $options) 38 | { 39 | if ($this->exists === false || $this->checkIfWritable() === false) { 40 | return false; 41 | } else { 42 | $this->exists = false; 43 | 44 | return true; 45 | } 46 | } 47 | 48 | public function dir_opendir($path, $useSafeMode) 49 | { 50 | return $this->exists; 51 | } 52 | 53 | public function dir_closedir() 54 | { 55 | return $this->exists; 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /univs/src/Smalot/PdfParser/Font/FontTrueType.php: -------------------------------------------------------------------------------- 1 | 8 | * @date 2017-01-03 9 | * @license LGPLv3 10 | * @url 11 | * 12 | * PdfParser is a pdf library written in PHP, extraction oriented. 13 | * Copyright (C) 2017 - Sébastien MALOT 14 | * 15 | * This program is free software: you can redistribute it and/or modify 16 | * it under the terms of the GNU Lesser General Public License as published by 17 | * the Free Software Foundation, either version 3 of the License, or 18 | * (at your option) any later version. 19 | * 20 | * This program is distributed in the hope that it will be useful, 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 | * GNU Lesser General Public License for more details. 24 | * 25 | * You should have received a copy of the GNU Lesser General Public License 26 | * along with this program. 27 | * If not, see . 28 | * 29 | */ 30 | 31 | namespace Smalot\PdfParser\Font; 32 | 33 | use Smalot\PdfParser\Font; 34 | 35 | /** 36 | * Class FontTrueType 37 | * 38 | * @package Smalot\PdfParser\Font 39 | */ 40 | class FontTrueType extends Font 41 | { 42 | } 43 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/report/fields/runner/tests/blank.php: -------------------------------------------------------------------------------- 1 | testedClass 16 | ->extends(atoum\report\field::class) 17 | ->isAbstract() 18 | ; 19 | } 20 | 21 | public function test__construct() 22 | { 23 | $this 24 | ->if($field = new testedClass()) 25 | ->then 26 | ->variable($field->getRunner())->isNull() 27 | ->array($field->getEvents())->isEqualTo([runner::runStop]) 28 | ; 29 | } 30 | 31 | public function testHandleEvent() 32 | { 33 | $this 34 | ->if($field = new testedClass()) 35 | ->and($runner = new atoum\runner()) 36 | ->then 37 | ->boolean($field->handleEvent(runner::runStart, $runner))->isFalse() 38 | ->variable($field->getRunner())->isNull() 39 | ->boolean($field->handleEvent(runner::runStop, $runner))->isTrue() 40 | ->object($field->getRunner())->isIdenticalTo($runner) 41 | ; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/report/fields/runner/tests/skipped.php: -------------------------------------------------------------------------------- 1 | testedClass 16 | ->extends(atoum\report\field::class) 17 | ->isAbstract() 18 | ; 19 | } 20 | 21 | public function test__construct() 22 | { 23 | $this 24 | ->if($field = new testedClass()) 25 | ->then 26 | ->variable($field->getRunner())->isNull() 27 | ->array($field->getEvents())->isEqualTo([runner::runStop]) 28 | ; 29 | } 30 | 31 | public function testHandleEvent() 32 | { 33 | $this 34 | ->if($field = new testedClass()) 35 | ->and($runner = new atoum\runner()) 36 | ->then 37 | ->boolean($field->handleEvent(runner::runStart, $runner))->isFalse() 38 | ->variable($field->getRunner())->isNull() 39 | ->boolean($field->handleEvent(runner::runStop, $runner))->isTrue() 40 | ->object($field->getRunner())->isIdenticalTo($runner) 41 | ; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /univs/src/Smalot/PdfParser/Font/FontCIDFontType0.php: -------------------------------------------------------------------------------- 1 | 8 | * @date 2017-01-03 9 | * @license LGPLv3 10 | * @url 11 | * 12 | * PdfParser is a pdf library written in PHP, extraction oriented. 13 | * Copyright (C) 2017 - Sébastien MALOT 14 | * 15 | * This program is free software: you can redistribute it and/or modify 16 | * it under the terms of the GNU Lesser General Public License as published by 17 | * the Free Software Foundation, either version 3 of the License, or 18 | * (at your option) any later version. 19 | * 20 | * This program is distributed in the hope that it will be useful, 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 | * GNU Lesser General Public License for more details. 24 | * 25 | * You should have received a copy of the GNU Lesser General Public License 26 | * along with this program. 27 | * If not, see . 28 | * 29 | */ 30 | 31 | namespace Smalot\PdfParser\Font; 32 | 33 | use Smalot\PdfParser\Font; 34 | 35 | /** 36 | * Class FontCIDFontType0 37 | * 38 | * @package Smalot\PdfParser\Font 39 | */ 40 | class FontCIDFontType0 extends Font 41 | { 42 | } 43 | -------------------------------------------------------------------------------- /univs/src/Smalot/PdfParser/Font/FontCIDFontType2.php: -------------------------------------------------------------------------------- 1 | 8 | * @date 2017-01-03 9 | * @license LGPLv3 10 | * @url 11 | * 12 | * PdfParser is a pdf library written in PHP, extraction oriented. 13 | * Copyright (C) 2017 - Sébastien MALOT 14 | * 15 | * This program is free software: you can redistribute it and/or modify 16 | * it under the terms of the GNU Lesser General Public License as published by 17 | * the Free Software Foundation, either version 3 of the License, or 18 | * (at your option) any later version. 19 | * 20 | * This program is distributed in the hope that it will be useful, 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 | * GNU Lesser General Public License for more details. 24 | * 25 | * You should have received a copy of the GNU Lesser General Public License 26 | * along with this program. 27 | * If not, see . 28 | * 29 | */ 30 | 31 | namespace Smalot\PdfParser\Font; 32 | 33 | use Smalot\PdfParser\Font; 34 | 35 | /** 36 | * Class FontCIDFontType2 37 | * 38 | * @package Smalot\PdfParser\Font 39 | */ 40 | class FontCIDFontType2 extends Font 41 | { 42 | } 43 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/reports/asynchronous/xunit/resources/3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/php/mocker.php: -------------------------------------------------------------------------------- 1 | setDefaultNamespace($defaultNamespace); 17 | } 18 | 19 | abstract public function __get($name); 20 | 21 | abstract public function __set($name, $mixed); 22 | 23 | abstract public function __isset($name); 24 | 25 | abstract public function __unset($name); 26 | 27 | abstract public function addToTest(atoum\test $test); 28 | 29 | public function setDefaultNamespace($namespace) 30 | { 31 | $this->defaultNamespace = trim($namespace, '\\'); 32 | 33 | if ($this->defaultNamespace !== '') { 34 | $this->defaultNamespace .= '\\'; 35 | } 36 | 37 | return $this; 38 | } 39 | 40 | public function getDefaultNamespace() 41 | { 42 | return $this->defaultNamespace; 43 | } 44 | 45 | public static function setAdapter(atoum\test\adapter $adapter = null) 46 | { 47 | static::$adapter = $adapter ?: new atoum\php\mocker\adapter(); 48 | } 49 | 50 | public static function getAdapter() 51 | { 52 | return static::$adapter; 53 | } 54 | } 55 | 56 | mocker::setAdapter(); 57 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/php/extension.php: -------------------------------------------------------------------------------- 1 | given($this->newTestedInstance(uniqid())) 16 | ->if($this->function->extension_loaded = false) 17 | ->then 18 | ->boolean($this->testedInstance->isLoaded())->isFalse 19 | ->if($this->function->extension_loaded = true) 20 | ->then 21 | ->boolean($this->testedInstance->isLoaded())->isTrue 22 | ; 23 | } 24 | 25 | public function testRequireExtension() 26 | { 27 | $this 28 | ->given($this->newTestedInstance($extensionName = uniqid())) 29 | ->if($this->function->extension_loaded = false) 30 | ->then 31 | ->exception(function () { 32 | $this->testedInstance->requireExtension(); 33 | }) 34 | ->isInstanceOf(atoum\php\exception::class) 35 | ->hasMessage('PHP extension \'' . $extensionName . '\' is not loaded') 36 | ->if($this->function->extension_loaded = true) 37 | ->then 38 | ->object($this->testedInstance->requireExtension())->isTestedInstance 39 | ; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/tests/units/classes/php/tokenizer/iterators/phpArgument.php: -------------------------------------------------------------------------------- 1 | testedClass 16 | ->extends(atoum\php\tokenizer\iterator::class) 17 | ; 18 | } 19 | 20 | public function test__construct() 21 | { 22 | $this 23 | ->if($this->newTestedInstance) 24 | ->then 25 | ->variable($this->testedInstance->getDefaultValue())->isNull() 26 | ; 27 | } 28 | 29 | public function testAppendDefaultValue() 30 | { 31 | $this 32 | ->if($this->newTestedInstance) 33 | ->then 34 | ->object($this->testedInstance->appendDefaultValue($defaultValue = new iterators\phpDefaultValue()))->isTestedInstance 35 | ->object($this->testedInstance->getDefaultValue())->isIdenticalTo($defaultValue) 36 | ; 37 | } 38 | 39 | public function testGetDefaultValue() 40 | { 41 | $this 42 | ->if($this->newTestedInstance) 43 | ->then 44 | ->variable($this->testedInstance->getDefaultValue())->isNull() 45 | ; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/php/mocker/constant.php: -------------------------------------------------------------------------------- 1 | __isset($name) === false) { 13 | throw new exceptions\constant('Constant \'' . $name . '\' is not defined in namespace \'' . trim($this->getDefaultNamespace(), '\\') . '\''); 14 | } 15 | 16 | return $this->getAdapter()->constant($this->getDefaultNamespace() . $name); 17 | } 18 | 19 | public function __set($name, $value) 20 | { 21 | if (@$this->getAdapter()->define($this->getDefaultNamespace() . $name, $value) === false) { 22 | throw new exceptions\constant('Could not mock constant \'' . $name . '\' in namespace \'' . trim($this->getDefaultNamespace(), '\\') . '\''); 23 | } 24 | 25 | return $this; 26 | } 27 | 28 | public function __isset($name) 29 | { 30 | return $this->getAdapter()->defined($this->getDefaultNamespace() . $name); 31 | } 32 | 33 | public function __unset($name) 34 | { 35 | throw new exceptions\constant('Could not unset constant \'' . $name . '\' in namespace \'' . trim($this->getDefaultNamespace(), '\\') . '\''); 36 | } 37 | 38 | public function addToTest(atoum\test $test) 39 | { 40 | $test->setPhpConstantMocker($this); 41 | 42 | return $this; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/php/tokenizer/iterators/phpScript.php: -------------------------------------------------------------------------------- 1 | namespaces = []; 16 | 17 | return parent::reset(); 18 | } 19 | 20 | public function appendNamespace(iterators\phpNamespace $phpNamespace) 21 | { 22 | $this->namespaces[] = $phpNamespace; 23 | 24 | return $this->append($phpNamespace); 25 | } 26 | 27 | public function getNamespaces() 28 | { 29 | return $this->namespaces; 30 | } 31 | 32 | public function getNamespace($index) 33 | { 34 | return (isset($this->namespaces[$index]) === false ? null : $this->namespaces[$index]); 35 | } 36 | 37 | public function appendImportation(iterators\phpImportation $phpImportation) 38 | { 39 | $this->importations[] = $phpImportation; 40 | 41 | return $this->append($phpImportation); 42 | } 43 | 44 | public function getImportations() 45 | { 46 | return $this->importations; 47 | } 48 | 49 | public function getImportation($index) 50 | { 51 | return (isset($this->importations[$index]) === false ? null : $this->importations[$index]); 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/asserters/hash.php: -------------------------------------------------------------------------------- 1 | {$asserter}(); 15 | 16 | default: 17 | return parent::__get($asserter); 18 | } 19 | } 20 | 21 | public function isSha1($failMessage = null) 22 | { 23 | return $this->isHash(40, $failMessage); 24 | } 25 | 26 | public function isSha256($failMessage = null) 27 | { 28 | return $this->isHash(64, $failMessage); 29 | } 30 | 31 | public function isSha512($failMessage = null) 32 | { 33 | return $this->isHash(128, $failMessage); 34 | } 35 | 36 | public function isMd5($failMessage = null) 37 | { 38 | return $this->isHash(32, $failMessage); 39 | } 40 | 41 | protected function isHash($length, $failMessage = null) 42 | { 43 | if (strlen($this->valueIsSet()->value) === $length) { 44 | $this->matches('/^[a-fA-F0-9]+$/', $failMessage ?: $this->_('%s does not match given pattern', $this)); 45 | } else { 46 | $this->fail($failMessage ?: $this->_('%s should be a string of %d characters', $this, $length)); 47 | } 48 | 49 | return $this; 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/writer.php: -------------------------------------------------------------------------------- 1 | setAdapter($adapter); 15 | } 16 | 17 | public function setAdapter(adapter $adapter = null) 18 | { 19 | $this->adapter = $adapter ?: new adapter(); 20 | 21 | return $this; 22 | } 23 | 24 | public function getAdapter() 25 | { 26 | return $this->adapter; 27 | } 28 | 29 | public function reset() 30 | { 31 | return $this; 32 | } 33 | 34 | public function addDecorator(decorator $decorator) 35 | { 36 | $this->decorators[] = $decorator; 37 | 38 | return $this; 39 | } 40 | 41 | public function getDecorators() 42 | { 43 | return $this->decorators; 44 | } 45 | 46 | public function removeDecorators() 47 | { 48 | $this->decorators = []; 49 | 50 | return $this; 51 | } 52 | 53 | public function write($string) 54 | { 55 | foreach ($this->decorators as $decorator) { 56 | $string = $decorator->decorate($string); 57 | } 58 | 59 | $this->doWrite($string); 60 | 61 | return $this; 62 | } 63 | 64 | abstract public function clear(); 65 | 66 | abstract protected function doWrite($string); 67 | } 68 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/resources/configurations/runner/coverage.php.dist: -------------------------------------------------------------------------------- 1 | setRootUrl('http://url/of/web/site'); 21 | 22 | // Treemap (not mandatory) 23 | 24 | /* 25 | Please replace in next line /path/to/destination/directory by your destination directory path for html files. 26 | */ 27 | $coverageTreemapField = new atoum\report\fields\runner\coverage\treemap('Your project name', '/path/to/destination/directory'); 28 | 29 | /* 30 | Please replace in next line http://url/of/treemap by the root url of your treemap web site. 31 | */ 32 | $coverageTreemapField 33 | ->setTreemapUrl('http://url/of/treemap') 34 | ->setHtmlReportBaseUrl($coverageHtmlField->getRootUrl()) 35 | ; 36 | 37 | $script 38 | ->addDefaultReport() 39 | ->addField($coverageHtmlField) 40 | ->addField($coverageTreemapField) 41 | ; 42 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/report/fields/test/run/cli.php: -------------------------------------------------------------------------------- 1 | setPrompt() 20 | ->setColorizer() 21 | ; 22 | } 23 | 24 | public function __toString() 25 | { 26 | return $this->prompt . 27 | ( 28 | $this->testClass === null 29 | ? 30 | $this->colorizer->colorize($this->locale->_('There is currently no test running.')) 31 | : 32 | $this->locale->_('%s...', $this->colorizer->colorize($this->testClass)) 33 | ) . 34 | PHP_EOL 35 | ; 36 | } 37 | 38 | public function setPrompt(prompt $prompt = null) 39 | { 40 | $this->prompt = $prompt ?: new prompt(); 41 | 42 | return $this; 43 | } 44 | 45 | public function getPrompt() 46 | { 47 | return $this->prompt; 48 | } 49 | 50 | public function setColorizer(colorizer $colorizer = null) 51 | { 52 | $this->colorizer = $colorizer ?: new colorizer(); 53 | 54 | return $this; 55 | } 56 | 57 | public function getColorizer() 58 | { 59 | return $this->colorizer; 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "atoum/atoum", 3 | "type": "library", 4 | "description": "Simple modern and intuitive unit testing framework for PHP 5.3+", 5 | "keywords": ["TDD","atoum","test","unit testing"], 6 | "homepage": "http://www.atoum.org", 7 | "license": "BSD-3-Clause", 8 | "authors": 9 | [ 10 | { 11 | "name": "Frédéric Hardy", 12 | "email": "frederic.hardy@atoum.org", 13 | "homepage": "http://blog.mageekbox.net" 14 | }, 15 | { 16 | "name": "François Dussert", 17 | "email": "francois.dussert@atoum.org" 18 | }, 19 | { 20 | "name": "Gérald Croes", 21 | "email": "gerald.croes@atoum.org" 22 | }, 23 | { 24 | "name": "Julien Bianchi", 25 | "email": "julien.bianchi@atoum.org" 26 | }, 27 | { 28 | "name": "Ludovic Fleury", 29 | "email": "ludovic.fleury@atoum.org" 30 | } 31 | ], 32 | "require": 33 | { 34 | "php": "^5.6.0 || ^7.0.0 <7.5.0", 35 | "ext-hash": "*", 36 | "ext-json": "*", 37 | "ext-tokenizer": "*", 38 | "ext-xml": "*" 39 | }, 40 | "require-dev": 41 | { 42 | "friendsofphp/php-cs-fixer": "^2" 43 | }, 44 | "replace": { 45 | "mageekguy/atoum": "*" 46 | }, 47 | "bin": 48 | [ 49 | "bin/atoum" 50 | ], 51 | "autoload": 52 | { 53 | "classmap": [ "classes/" ] 54 | }, 55 | "suggest": { 56 | "ext-mbstring": "Provides support for UTF-8 strings", 57 | "atoum/stubs": "Provides IDE support (like autocompletion) for atoum", 58 | "ext-xdebug": "Provides code coverage report (>= 2.3)" 59 | }, 60 | "extra": { 61 | "branch-alias": { 62 | "dev-master": "3.x-dev" 63 | } 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/configurator.php: -------------------------------------------------------------------------------- 1 | script = $script; 13 | 14 | foreach ($this->script->getHelp() as $help) { 15 | list($arguments) = $help; 16 | 17 | foreach ($arguments as $argument) { 18 | $this->methods[strtolower(str_replace('-', '', $argument))] = $argument; 19 | } 20 | } 21 | } 22 | 23 | public function __call($method, $arguments) 24 | { 25 | $keyMethod = strtolower($method); 26 | 27 | if (isset($this->methods[$keyMethod]) === true) { 28 | if (isset($arguments[0]) === true && is_array($arguments[0]) === true) { 29 | $arguments = $arguments[0]; 30 | } 31 | 32 | $this->script->getArgumentsParser()->invokeHandlers($this->script, $this->methods[$keyMethod], $arguments); 33 | 34 | return $this; 35 | } else { 36 | if (method_exists($this->script, $keyMethod) === false) { 37 | throw new exceptions\runtime\unexpectedValue('Method \'' . $method . '\' is unavailable'); 38 | } 39 | 40 | $return = call_user_func_array([$this->script, $keyMethod], $arguments); 41 | 42 | return ($return === $this->script ? $this : $return); 43 | } 44 | } 45 | 46 | public function getScript() 47 | { 48 | return $this->script; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/classes/tools/diffs/variable.php: -------------------------------------------------------------------------------- 1 | setAnalyzer(); 15 | 16 | parent::__construct($expected, $actual); 17 | } 18 | 19 | public function setAnalyzer(tools\variable\analyzer $analyzer = null) 20 | { 21 | $this->analyzer = $analyzer ?: new tools\variable\analyzer(); 22 | 23 | return $this; 24 | } 25 | 26 | public function getAnalyzer() 27 | { 28 | return $this->analyzer; 29 | } 30 | 31 | public function setExpected($mixed) 32 | { 33 | return parent::setExpected($this->analyzer->dump($mixed)); 34 | } 35 | 36 | public function setActual($mixed) 37 | { 38 | return parent::setActual($this->analyzer->dump($mixed)); 39 | } 40 | 41 | public function make($expected = null, $actual = null) 42 | { 43 | if ($expected !== null) { 44 | $this->setExpected($expected); 45 | } 46 | 47 | if ($expected !== null) { 48 | $this->setActual($actual); 49 | } 50 | 51 | if ($this->expected === null) { 52 | throw new exceptions\runtime('Expected is undefined'); 53 | } 54 | 55 | if ($this->actual === null) { 56 | throw new exceptions\runtime('Actual is undefined'); 57 | } 58 | 59 | return parent::make(); 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /univs/src/Smalot/PdfParser/XObject/Image.php: -------------------------------------------------------------------------------- 1 | 8 | * @date 2017-01-03 9 | * @license LGPLv3 10 | * @url 11 | * 12 | * PdfParser is a pdf library written in PHP, extraction oriented. 13 | * Copyright (C) 2017 - Sébastien MALOT 14 | * 15 | * This program is free software: you can redistribute it and/or modify 16 | * it under the terms of the GNU Lesser General Public License as published by 17 | * the Free Software Foundation, either version 3 of the License, or 18 | * (at your option) any later version. 19 | * 20 | * This program is distributed in the hope that it will be useful, 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 | * GNU Lesser General Public License for more details. 24 | * 25 | * You should have received a copy of the GNU Lesser General Public License 26 | * along with this program. 27 | * If not, see . 28 | * 29 | */ 30 | 31 | namespace Smalot\PdfParser\XObject; 32 | 33 | use Smalot\PdfParser\PDFObject; 34 | use Smalot\PdfParser\Page; 35 | 36 | /** 37 | * Class Image 38 | * 39 | * @package Smalot\PdfParser\XObject 40 | */ 41 | class Image extends PDFObject 42 | { 43 | /** 44 | * @param Page $page 45 | * 46 | * @return string 47 | */ 48 | public function getText(Page $page = null) 49 | { 50 | return ''; 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /univs/vendor/atoum/atoum/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2016-2016, atoum contributors. 2 | Copyright (c) 2010-2016, Frédéric Hardy. 3 | All rights reserved. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions are met: 7 | 8 | * Redistributions of source code must retain the above copyright 9 | notice, this list of conditions and the following disclaimer. 10 | * Redistributions in binary form must reproduce the above copyright 11 | notice, this list of conditions and the following disclaimer in the 12 | documentation and/or other materials provided with the distribution. 13 | * Neither the name of Frédéric Hardy nor the names of its contributors 14 | may be used to endorse or promote products derived from this software 15 | without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY FRÉDÉRIC HARDY AND CONTRIBUTORS ``AS IS'' AND ANY 18 | EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 19 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 20 | DISCLAIMED. IN NO EVENT SHALL FRÉDÉRIC HARDY AND CONTRIBUTORS BE LIABLE FOR ANY 21 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 26 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | --------------------------------------------------------------------------------