From 60a2b7282afd5393d6952b22b5c7301f9f1cb83e Mon Sep 17 00:00:00 2001 From: Dmitry Khomutov Date: Wed, 20 Jul 2016 00:28:11 +0600 Subject: [PATCH] Fixed namespaces (PHPCI -> PHPCensor) --- .gitignore | 1 - app/phinx.php | 2 +- app/pluginconfig.example.php | 4 +- bin/console | 22 +- bin/daemonise | 2 +- bootstrap.php | 10 +- composer.json | 8 +- composer.lock | 429 ++++++++++++------ phpcs.xml | 6 +- phpunit.xml | 16 +- public/assets/js/build.js | 2 +- public/assets/js/init.js | 2 +- public/assets/js/phpci.js | 44 +- public/index.php | 2 +- src/{PHPCI => PHPCensor}/Application.php | 2 +- src/{PHPCI => PHPCensor}/BuildFactory.php | 6 +- src/{PHPCI => PHPCensor}/Builder.php | 22 +- .../Command/CreateAdminCommand.php | 8 +- .../Command/CreateBuildCommand.php | 8 +- .../Command/DaemonCommand.php | 6 +- .../Command/DaemoniseCommand.php | 2 +- .../Command/InstallCommand.php | 6 +- .../Command/PollCommand.php | 6 +- .../Command/RebuildCommand.php | 4 +- .../Command/RebuildQueueCommand.php | 10 +- .../Command/RunCommand.php | 16 +- .../Command/UpdateCommand.php | 4 +- .../Command/WorkerCommand.php | 6 +- src/{PHPCI => PHPCensor}/Controller.php | 2 +- .../Controller/BuildController.php | 16 +- .../Controller/BuildStatusController.php | 12 +- .../Controller/GroupController.php | 8 +- .../Controller/HomeController.php | 10 +- .../Controller/PluginController.php | 12 +- .../Controller/ProjectController.php | 18 +- .../Controller/SessionController.php | 8 +- .../Controller/SettingsController.php | 6 +- .../Controller/UserController.php | 8 +- .../Controller/WebhookController.php | 10 +- src/{PHPCI => PHPCensor}/ErrorHandler.php | 2 +- .../Helper/AnsiConverter.php | 2 +- .../Helper/BaseCommandExecutor.php | 4 +- src/{PHPCI => PHPCensor}/Helper/Build.php | 2 +- .../Helper/BuildInterpolator.php | 4 +- .../Helper/CommandExecutor.php | 2 +- src/{PHPCI => PHPCensor}/Helper/Diff.php | 2 +- src/{PHPCI => PHPCensor}/Helper/Email.php | 4 +- src/{PHPCI => PHPCensor}/Helper/Github.php | 2 +- src/{PHPCI => PHPCensor}/Helper/Lang.php | 4 +- .../Helper/LoginIsDisabled.php | 2 +- .../Helper/MailerFactory.php | 2 +- src/{PHPCI => PHPCensor}/Helper/SshKey.php | 2 +- .../Helper/UnixCommandExecutor.php | 2 +- src/{PHPCI => PHPCensor}/Helper/User.php | 2 +- .../Helper/WindowsCommandExecutor.php | 2 +- .../Languages/lang.da.php | 0 .../Languages/lang.de.php | 0 .../Languages/lang.el.php | 0 .../Languages/lang.en.php | 0 .../Languages/lang.es.php | 0 .../Languages/lang.fr.php | 0 .../Languages/lang.it.php | 0 .../Languages/lang.nl.php | 0 .../Languages/lang.pl.php | 0 .../Languages/lang.ru.php | 0 .../Languages/lang.uk.php | 0 .../Logging/BuildDBLogHandler.php | 4 +- .../Logging/BuildLogger.php | 4 +- src/{PHPCI => PHPCensor}/Logging/Handler.php | 2 +- .../Logging/LoggedBuildContextTidier.php | 4 +- .../Logging/LoggerConfig.php | 2 +- .../Logging/OutputLogHandler.php | 2 +- .../20140513143726_initial_migration.php | 0 ...0513153133_change_build_keys_migration.php | 0 .../20140611170618_choose_branch.php | 0 .../20140730143702_fix_database_columns.php | 0 .../20150131075425_archive_project.php | 0 .../20150203105015_fix_column_types.php | 0 ...4958_unique_email_and_name_user_fields.php | 0 .../20151008140800_add_project_groups.php | 2 +- ...0151009100610_remove_unique_name_index.php | 0 .../20151014091859_errors_table.php | 0 .../20151015124825_convert_errors.php | 4 +- .../20160425162114_branch_column_length.php | 0 .../20160623100223_project_table_defaults.php | 0 src/{PHPCI => PHPCensor}/Model.php | 2 +- .../Model/Base/BuildBase.php | 24 +- .../Model/Base/BuildErrorBase.php | 8 +- .../Model/Base/BuildMetaBase.php | 12 +- .../Model/Base/ProjectBase.php | 24 +- .../Model/Base/ProjectGroupBase.php | 12 +- .../Model/Base/UserBase.php | 4 +- src/{PHPCI => PHPCensor}/Model/Build.php | 10 +- .../Model/Build/BitbucketBuild.php | 4 +- .../Model/Build/GithubBuild.php | 10 +- .../Model/Build/GitlabBuild.php | 2 +- .../Model/Build/LocalBuild.php | 6 +- .../Model/Build/MercurialBuild.php | 6 +- .../Model/Build/RemoteGitBuild.php | 6 +- .../Model/Build/SubversionBuild.php | 6 +- src/{PHPCI => PHPCensor}/Model/BuildError.php | 4 +- src/{PHPCI => PHPCensor}/Model/BuildMeta.php | 5 +- src/{PHPCI => PHPCensor}/Model/Project.php | 6 +- .../Model/ProjectGroup.php | 4 +- src/{PHPCI => PHPCensor}/Model/User.php | 4 +- src/{PHPCI => PHPCensor}/Plugin.php | 2 +- src/{PHPCI => PHPCensor}/Plugin/Atoum.php | 10 +- src/{PHPCI => PHPCensor}/Plugin/Behat.php | 12 +- src/{PHPCI => PHPCensor}/Plugin/Campfire.php | 10 +- .../Plugin/CleanBuild.php | 8 +- .../Plugin/Codeception.php | 14 +- src/{PHPCI => PHPCensor}/Plugin/Composer.php | 10 +- src/{PHPCI => PHPCensor}/Plugin/CopyBuild.php | 10 +- src/{PHPCI => PHPCensor}/Plugin/Deployer.php | 8 +- src/{PHPCI => PHPCensor}/Plugin/Email.php | 12 +- src/{PHPCI => PHPCensor}/Plugin/Env.php | 10 +- .../Plugin/FlowdockNotify.php | 10 +- src/{PHPCI => PHPCensor}/Plugin/Git.php | 10 +- src/{PHPCI => PHPCensor}/Plugin/Grunt.php | 8 +- src/{PHPCI => PHPCensor}/Plugin/Gulp.php | 8 +- .../Plugin/HipchatNotify.php | 10 +- src/{PHPCI => PHPCensor}/Plugin/Irc.php | 10 +- src/{PHPCI => PHPCensor}/Plugin/Lint.php | 10 +- src/{PHPCI => PHPCensor}/Plugin/Mysql.php | 10 +- .../Plugin/PackageBuild.php | 8 +- src/{PHPCI => PHPCensor}/Plugin/Pdepend.php | 8 +- src/{PHPCI => PHPCensor}/Plugin/Pgsql.php | 8 +- src/{PHPCI => PHPCensor}/Plugin/Phar.php | 10 +- src/{PHPCI => PHPCensor}/Plugin/Phing.php | 10 +- .../Plugin/PhpCodeSniffer.php | 14 +- src/{PHPCI => PHPCensor}/Plugin/PhpCpd.php | 12 +- .../Plugin/PhpCsFixer.php | 8 +- .../Plugin/PhpDocblockChecker.php | 14 +- src/{PHPCI => PHPCensor}/Plugin/PhpLoc.php | 10 +- .../Plugin/PhpMessDetector.php | 12 +- .../Plugin/PhpParallelLint.php | 8 +- src/{PHPCI => PHPCensor}/Plugin/PhpSpec.php | 10 +- .../Plugin/PhpTalLint.php | 10 +- src/{PHPCI => PHPCensor}/Plugin/PhpUnit.php | 12 +- src/{PHPCI => PHPCensor}/Plugin/Shell.php | 8 +- .../Plugin/SlackNotify.php | 8 +- src/{PHPCI => PHPCensor}/Plugin/Sqlite.php | 10 +- .../Plugin/TechnicalDebt.php | 14 +- .../Plugin/Util/ComposerPluginInformation.php | 4 +- .../Plugin/Util/Executor.php | 18 +- .../Plugin/Util/Factory.php | 4 +- .../Plugin/Util/FilesPluginInformation.php | 4 +- .../Util/InstalledPluginInformation.php | 2 +- .../Util/PluginInformationCollection.php | 2 +- .../Plugin/Util/TapParser.php | 4 +- .../Util/TestResultParsers/Codeception.php | 4 +- .../TestResultParsers/ParserInterface.php | 2 +- src/{PHPCI => PHPCensor}/Plugin/Wipe.php | 8 +- src/{PHPCI => PHPCensor}/Plugin/Xmpp.php | 8 +- .../ProcessControl/Factory.php | 2 +- .../ProcessControl/PosixProcessControl.php | 2 +- .../ProcessControlInterface.php | 2 +- .../ProcessControl/UnixProcessControl.php | 2 +- .../ProcessControl/WindowsProcessControl.php | 2 +- .../Service/BuildService.php | 12 +- .../Service/BuildStatusService.php | 6 +- .../Service/ProjectService.php | 6 +- .../Service/UserService.php | 6 +- src/{PHPCI => PHPCensor}/Store.php | 2 +- .../Store/Base/BuildErrorStoreBase.php | 8 +- .../Store/Base/BuildMetaStoreBase.php | 8 +- .../Store/Base/BuildStoreBase.php | 8 +- .../Store/Base/ProjectGroupStoreBase.php | 8 +- .../Store/Base/ProjectStoreBase.php | 8 +- .../Store/Base/UserStoreBase.php | 8 +- .../Store/BuildErrorStore.php | 6 +- .../Store/BuildMetaStore.php | 6 +- src/{PHPCI => PHPCensor}/Store/BuildStore.php | 6 +- .../Store/ProjectGroupStore.php | 4 +- .../Store/ProjectStore.php | 6 +- src/{PHPCI => PHPCensor}/Store/UserStore.php | 4 +- .../View/Build/errors.phtml | 2 +- .../View/Build/header-row.phtml | 6 +- .../View/Build/view.phtml | 2 +- .../View/BuildStatus/view.phtml | 2 +- .../View/BuildsTable.phtml | 2 +- .../View/Email/layout.phtml | 0 .../View/Email/long.phtml | 2 +- .../View/Email/short.phtml | 0 .../View/Group/edit.phtml | 2 +- .../View/Group/index.phtml | 2 +- .../View/Home/index.phtml | 10 +- .../View/Plugin/index.phtml | 6 +- .../View/Project/view.phtml | 2 +- .../View/ProjectForm.phtml | 2 +- src/{PHPCI => PHPCensor}/View/Session.phtml | 2 +- .../View/Session/forgotPassword.phtml | 2 +- .../View/Session/login.phtml | 2 +- .../View/Session/resetPassword.phtml | 2 +- .../View/Settings/index.phtml | 2 +- .../View/SummaryTable.phtml | 2 +- .../View/User/index.phtml | 2 +- .../View/User/profile.phtml | 2 +- src/{PHPCI => PHPCensor}/View/UserForm.phtml | 0 src/{PHPCI => PHPCensor}/View/exception.phtml | 0 src/{PHPCI => PHPCensor}/View/layout.phtml | 2 +- .../Worker/BuildWorker.php | 10 +- src/{PHPCI => PHPCensor}/ZeroConfigPlugin.php | 4 +- .../Command/CreateAdminCommandTest.php | 6 +- .../Command/CreateBuildCommandTest.php | 10 +- .../Command/InstallCommandTest.php | 4 +- .../Controller/WebhookControllerTest.php | 4 +- .../Helper/AnsiConverterTest.php | 4 +- .../Helper/BuildInterpolatorTest.php | 6 +- .../Helper/CommandExecutorTest.php | 10 +- .../{PHPCI => PHPCensor}/Helper/LangTest.php | 4 +- .../Helper/MailerFactoryTest.php | 4 +- .../Logging/BuildLoggerTest.php | 6 +- .../Logging/LoggerConfigTest.php | 4 +- .../{PHPCI => PHPCensor}/Model/BuildTest.php | 6 +- .../Model/ProjectTest.php | 6 +- .../{PHPCI => PHPCensor}/Plugin/EmailTest.php | 14 +- .../{PHPCI => PHPCensor}/Plugin/PharTest.php | 16 +- .../Util/ComposerPluginInformationTest.php | 6 +- .../Plugin/Util/ExamplePluginConfig.php | 2 +- .../Plugin/Util/ExecutorTest.php | 38 +- .../Plugin/Util/FactoryTest.php | 16 +- .../Plugin/Util/Fake/ExamplePluginFull.php | 8 +- .../ExamplePluginWithNoConstructorArgs.php | 4 +- .../ExamplePluginWithSingleOptionalArg.php | 4 +- .../ExamplePluginWithSingleRequiredArg.php | 4 +- ...xamplePluginWithSingleTypedRequiredArg.php | 4 +- .../Util/FilesPluginInformationTest.php | 8 +- .../Plugin/Util/TapParserTest.php | 4 +- .../PosixProcessControlTest.php | 4 +- .../ProcessControl/ProcessControlTest.php | 2 +- .../ProcessControl/UnixProcessControlTest.php | 4 +- .../WindowsProcessControlTest.php | 4 +- .../Service/BuildServiceTest.php | 14 +- .../Service/BuiltStatusServiceTest.php | 10 +- .../Service/ProjectServiceTest.php | 10 +- .../Service/UserServiceTest.php | 8 +- tests/bootstrap.php | 10 +- 238 files changed, 1019 insertions(+), 868 deletions(-) rename src/{PHPCI => PHPCensor}/Application.php (99%) rename src/{PHPCI => PHPCensor}/BuildFactory.php (94%) rename src/{PHPCI => PHPCensor}/Builder.php (96%) rename src/{PHPCI => PHPCensor}/Command/CreateAdminCommand.php (95%) rename src/{PHPCI => PHPCensor}/Command/CreateBuildCommand.php (95%) rename src/{PHPCI => PHPCensor}/Command/DaemonCommand.php (97%) rename src/{PHPCI => PHPCensor}/Command/DaemoniseCommand.php (98%) rename src/{PHPCI => PHPCensor}/Command/InstallCommand.php (99%) rename src/{PHPCI => PHPCensor}/Command/PollCommand.php (97%) rename src/{PHPCI => PHPCensor}/Command/RebuildCommand.php (96%) rename src/{PHPCI => PHPCensor}/Command/RebuildQueueCommand.php (92%) rename src/{PHPCI => PHPCensor}/Command/RunCommand.php (95%) rename src/{PHPCI => PHPCensor}/Command/UpdateCommand.php (96%) rename src/{PHPCI => PHPCensor}/Command/WorkerCommand.php (95%) rename src/{PHPCI => PHPCensor}/Controller.php (99%) rename src/{PHPCI => PHPCensor}/Controller/BuildController.php (96%) rename src/{PHPCI => PHPCensor}/Controller/BuildStatusController.php (96%) rename src/{PHPCI => PHPCensor}/Controller/GroupController.php (96%) rename src/{PHPCI => PHPCensor}/Controller/HomeController.php (97%) rename src/{PHPCI => PHPCensor}/Controller/PluginController.php (86%) rename src/{PHPCI => PHPCensor}/Controller/ProjectController.php (98%) rename src/{PHPCI => PHPCensor}/Controller/SessionController.php (98%) rename src/{PHPCI => PHPCensor}/Controller/SettingsController.php (99%) rename src/{PHPCI => PHPCensor}/Controller/UserController.php (98%) rename src/{PHPCI => PHPCensor}/Controller/WebhookController.php (98%) rename src/{PHPCI => PHPCensor}/ErrorHandler.php (98%) rename src/{PHPCI => PHPCensor}/Helper/AnsiConverter.php (97%) rename src/{PHPCI => PHPCensor}/Helper/BaseCommandExecutor.php (98%) rename src/{PHPCI => PHPCensor}/Helper/Build.php (96%) rename src/{PHPCI => PHPCensor}/Helper/BuildInterpolator.php (98%) rename src/{PHPCI => PHPCensor}/Helper/CommandExecutor.php (97%) rename src/{PHPCI => PHPCensor}/Helper/Diff.php (97%) rename src/{PHPCI => PHPCensor}/Helper/Email.php (98%) rename src/{PHPCI => PHPCensor}/Helper/Github.php (99%) rename src/{PHPCI => PHPCensor}/Helper/Lang.php (98%) rename src/{PHPCI => PHPCensor}/Helper/LoginIsDisabled.php (96%) rename src/{PHPCI => PHPCensor}/Helper/MailerFactory.php (98%) rename src/{PHPCI => PHPCensor}/Helper/SshKey.php (98%) rename src/{PHPCI => PHPCensor}/Helper/UnixCommandExecutor.php (95%) rename src/{PHPCI => PHPCensor}/Helper/User.php (96%) rename src/{PHPCI => PHPCensor}/Helper/WindowsCommandExecutor.php (96%) rename src/{PHPCI => PHPCensor}/Languages/lang.da.php (100%) rename src/{PHPCI => PHPCensor}/Languages/lang.de.php (100%) rename src/{PHPCI => PHPCensor}/Languages/lang.el.php (100%) rename src/{PHPCI => PHPCensor}/Languages/lang.en.php (100%) rename src/{PHPCI => PHPCensor}/Languages/lang.es.php (100%) rename src/{PHPCI => PHPCensor}/Languages/lang.fr.php (100%) rename src/{PHPCI => PHPCensor}/Languages/lang.it.php (100%) rename src/{PHPCI => PHPCensor}/Languages/lang.nl.php (100%) rename src/{PHPCI => PHPCensor}/Languages/lang.pl.php (100%) rename src/{PHPCI => PHPCensor}/Languages/lang.ru.php (100%) rename src/{PHPCI => PHPCensor}/Languages/lang.uk.php (100%) rename src/{PHPCI => PHPCensor}/Logging/BuildDBLogHandler.php (96%) rename src/{PHPCI => PHPCensor}/Logging/BuildLogger.php (98%) rename src/{PHPCI => PHPCensor}/Logging/Handler.php (99%) rename src/{PHPCI => PHPCensor}/Logging/LoggedBuildContextTidier.php (95%) rename src/{PHPCI => PHPCensor}/Logging/LoggerConfig.php (98%) rename src/{PHPCI => PHPCensor}/Logging/OutputLogHandler.php (97%) rename src/{PHPCI => PHPCensor}/Migrations/20140513143726_initial_migration.php (100%) rename src/{PHPCI => PHPCensor}/Migrations/20140513153133_change_build_keys_migration.php (100%) rename src/{PHPCI => PHPCensor}/Migrations/20140611170618_choose_branch.php (100%) rename src/{PHPCI => PHPCensor}/Migrations/20140730143702_fix_database_columns.php (100%) rename src/{PHPCI => PHPCensor}/Migrations/20150131075425_archive_project.php (100%) rename src/{PHPCI => PHPCensor}/Migrations/20150203105015_fix_column_types.php (100%) rename src/{PHPCI => PHPCensor}/Migrations/20150324174958_unique_email_and_name_user_fields.php (100%) rename src/{PHPCI => PHPCensor}/Migrations/20151008140800_add_project_groups.php (95%) rename src/{PHPCI => PHPCensor}/Migrations/20151009100610_remove_unique_name_index.php (100%) rename src/{PHPCI => PHPCensor}/Migrations/20151014091859_errors_table.php (100%) rename src/{PHPCI => PHPCensor}/Migrations/20151015124825_convert_errors.php (99%) rename src/{PHPCI => PHPCensor}/Migrations/20160425162114_branch_column_length.php (100%) rename src/{PHPCI => PHPCensor}/Migrations/20160623100223_project_table_defaults.php (100%) rename src/{PHPCI => PHPCensor}/Model.php (93%) rename src/{PHPCI => PHPCensor}/Model/Base/BuildBase.php (95%) rename src/{PHPCI => PHPCensor}/Model/Base/BuildErrorBase.php (98%) rename src/{PHPCI => PHPCensor}/Model/Base/BuildMetaBase.php (97%) rename src/{PHPCI => PHPCensor}/Model/Base/ProjectBase.php (96%) rename src/{PHPCI => PHPCensor}/Model/Base/ProjectGroupBase.php (90%) rename src/{PHPCI => PHPCensor}/Model/Base/UserBase.php (98%) rename src/{PHPCI => PHPCensor}/Model/Build.php (96%) rename src/{PHPCI => PHPCensor}/Model/Build/BitbucketBuild.php (95%) rename src/{PHPCI => PHPCensor}/Model/Build/GithubBuild.php (98%) rename src/{PHPCI => PHPCensor}/Model/Build/GitlabBuild.php (98%) rename src/{PHPCI => PHPCensor}/Model/Build/LocalBuild.php (97%) rename src/{PHPCI => PHPCensor}/Model/Build/MercurialBuild.php (96%) rename src/{PHPCI => PHPCensor}/Model/Build/RemoteGitBuild.php (98%) rename src/{PHPCI => PHPCensor}/Model/Build/SubversionBuild.php (98%) rename src/{PHPCI => PHPCensor}/Model/BuildError.php (95%) rename src/{PHPCI => PHPCensor}/Model/BuildMeta.php (86%) rename src/{PHPCI => PHPCensor}/Model/Project.php (97%) rename src/{PHPCI => PHPCensor}/Model/ProjectGroup.php (80%) rename src/{PHPCI => PHPCensor}/Model/User.php (89%) rename src/{PHPCI => PHPCensor}/Plugin.php (94%) rename src/{PHPCI => PHPCensor}/Plugin/Atoum.php (94%) rename src/{PHPCI => PHPCensor}/Plugin/Behat.php (95%) rename src/{PHPCI => PHPCensor}/Plugin/Campfire.php (97%) rename src/{PHPCI => PHPCensor}/Plugin/CleanBuild.php (95%) rename src/{PHPCI => PHPCensor}/Plugin/Codeception.php (95%) rename src/{PHPCI => PHPCensor}/Plugin/Composer.php (95%) rename src/{PHPCI => PHPCensor}/Plugin/CopyBuild.php (95%) rename src/{PHPCI => PHPCensor}/Plugin/Deployer.php (95%) rename src/{PHPCI => PHPCensor}/Plugin/Email.php (97%) rename src/{PHPCI => PHPCensor}/Plugin/Env.php (93%) rename src/{PHPCI => PHPCensor}/Plugin/FlowdockNotify.php (94%) rename src/{PHPCI => PHPCensor}/Plugin/Git.php (97%) rename src/{PHPCI => PHPCensor}/Plugin/Grunt.php (96%) rename src/{PHPCI => PHPCensor}/Plugin/Gulp.php (96%) rename src/{PHPCI => PHPCensor}/Plugin/HipchatNotify.php (95%) rename src/{PHPCI => PHPCensor}/Plugin/Irc.php (96%) rename src/{PHPCI => PHPCensor}/Plugin/Lint.php (96%) rename src/{PHPCI => PHPCensor}/Plugin/Mysql.php (97%) rename src/{PHPCI => PHPCensor}/Plugin/PackageBuild.php (96%) rename src/{PHPCI => PHPCensor}/Plugin/Pdepend.php (97%) rename src/{PHPCI => PHPCensor}/Plugin/Pgsql.php (95%) rename src/{PHPCI => PHPCensor}/Plugin/Phar.php (97%) rename src/{PHPCI => PHPCensor}/Plugin/Phing.php (97%) rename src/{PHPCI => PHPCensor}/Plugin/PhpCodeSniffer.php (95%) rename src/{PHPCI => PHPCensor}/Plugin/PhpCpd.php (96%) rename src/{PHPCI => PHPCensor}/Plugin/PhpCsFixer.php (96%) rename src/{PHPCI => PHPCensor}/Plugin/PhpDocblockChecker.php (93%) rename src/{PHPCI => PHPCensor}/Plugin/PhpLoc.php (93%) rename src/{PHPCI => PHPCensor}/Plugin/PhpMessDetector.php (96%) rename src/{PHPCI => PHPCensor}/Plugin/PhpParallelLint.php (96%) rename src/{PHPCI => PHPCensor}/Plugin/PhpSpec.php (96%) rename src/{PHPCI => PHPCensor}/Plugin/PhpTalLint.php (97%) rename src/{PHPCI => PHPCensor}/Plugin/PhpUnit.php (97%) rename src/{PHPCI => PHPCensor}/Plugin/Shell.php (95%) rename src/{PHPCI => PHPCensor}/Plugin/SlackNotify.php (97%) rename src/{PHPCI => PHPCensor}/Plugin/Sqlite.php (93%) rename src/{PHPCI => PHPCensor}/Plugin/TechnicalDebt.php (95%) rename src/{PHPCI => PHPCensor}/Plugin/Util/ComposerPluginInformation.php (98%) rename src/{PHPCI => PHPCensor}/Plugin/Util/Executor.php (94%) rename src/{PHPCI => PHPCensor}/Plugin/Util/Factory.php (98%) rename src/{PHPCI => PHPCensor}/Plugin/Util/FilesPluginInformation.php (98%) rename src/{PHPCI => PHPCensor}/Plugin/Util/InstalledPluginInformation.php (95%) rename src/{PHPCI => PHPCensor}/Plugin/Util/PluginInformationCollection.php (97%) rename src/{PHPCI => PHPCensor}/Plugin/Util/TapParser.php (99%) rename src/{PHPCI => PHPCensor}/Plugin/Util/TestResultParsers/Codeception.php (97%) rename src/{PHPCI => PHPCensor}/Plugin/Util/TestResultParsers/ParserInterface.php (85%) rename src/{PHPCI => PHPCensor}/Plugin/Wipe.php (94%) rename src/{PHPCI => PHPCensor}/Plugin/Xmpp.php (98%) rename src/{PHPCI => PHPCensor}/ProcessControl/Factory.php (97%) rename src/{PHPCI => PHPCensor}/ProcessControl/PosixProcessControl.php (97%) rename src/{PHPCI => PHPCensor}/ProcessControl/ProcessControlInterface.php (95%) rename src/{PHPCI => PHPCensor}/ProcessControl/UnixProcessControl.php (97%) rename src/{PHPCI => PHPCensor}/ProcessControl/WindowsProcessControl.php (97%) rename src/{PHPCI => PHPCensor}/Service/BuildService.php (96%) rename src/{PHPCI => PHPCensor}/Service/BuildStatusService.php (98%) rename src/{PHPCI => PHPCensor}/Service/ProjectService.php (97%) rename src/{PHPCI => PHPCensor}/Service/UserService.php (95%) rename src/{PHPCI => PHPCensor}/Store.php (93%) rename src/{PHPCI => PHPCensor}/Store/Base/BuildErrorStoreBase.php (93%) rename src/{PHPCI => PHPCensor}/Store/Base/BuildMetaStoreBase.php (95%) rename src/{PHPCI => PHPCensor}/Store/Base/BuildStoreBase.php (95%) rename src/{PHPCI => PHPCensor}/Store/Base/ProjectGroupStoreBase.php (88%) rename src/{PHPCI => PHPCensor}/Store/Base/ProjectStoreBase.php (95%) rename src/{PHPCI => PHPCensor}/Store/Base/UserStoreBase.php (95%) rename src/{PHPCI => PHPCensor}/Store/BuildErrorStore.php (94%) rename src/{PHPCI => PHPCensor}/Store/BuildMetaStore.php (92%) rename src/{PHPCI => PHPCensor}/Store/BuildStore.php (98%) rename src/{PHPCI => PHPCensor}/Store/ProjectGroupStore.php (80%) rename src/{PHPCI => PHPCensor}/Store/ProjectStore.php (96%) rename src/{PHPCI => PHPCensor}/Store/UserStore.php (87%) rename src/{PHPCI => PHPCensor}/View/Build/errors.phtml (96%) rename src/{PHPCI => PHPCensor}/View/Build/header-row.phtml (78%) rename src/{PHPCI => PHPCensor}/View/Build/view.phtml (99%) rename src/{PHPCI => PHPCensor}/View/BuildStatus/view.phtml (99%) rename src/{PHPCI => PHPCensor}/View/BuildsTable.phtml (98%) rename src/{PHPCI => PHPCensor}/View/Email/layout.phtml (100%) rename src/{PHPCI => PHPCensor}/View/Email/long.phtml (63%) rename src/{PHPCI => PHPCensor}/View/Email/short.phtml (100%) rename src/{PHPCI => PHPCensor}/View/Group/edit.phtml (83%) rename src/{PHPCI => PHPCensor}/View/Group/index.phtml (97%) rename src/{PHPCI => PHPCensor}/View/Home/index.phtml (93%) rename src/{PHPCI => PHPCensor}/View/Plugin/index.phtml (86%) rename src/{PHPCI => PHPCensor}/View/Project/view.phtml (99%) rename src/{PHPCI => PHPCensor}/View/ProjectForm.phtml (97%) rename src/{PHPCI => PHPCensor}/View/Session.phtml (97%) rename src/{PHPCI => PHPCensor}/View/Session/forgotPassword.phtml (95%) rename src/{PHPCI => PHPCensor}/View/Session/login.phtml (88%) rename src/{PHPCI => PHPCensor}/View/Session/resetPassword.phtml (96%) rename src/{PHPCI => PHPCensor}/View/Settings/index.phtml (99%) rename src/{PHPCI => PHPCensor}/View/SummaryTable.phtml (99%) rename src/{PHPCI => PHPCensor}/View/User/index.phtml (98%) rename src/{PHPCI => PHPCensor}/View/User/profile.phtml (90%) rename src/{PHPCI => PHPCensor}/View/UserForm.phtml (100%) rename src/{PHPCI => PHPCensor}/View/exception.phtml (100%) rename src/{PHPCI => PHPCensor}/View/layout.phtml (99%) rename src/{PHPCI => PHPCensor}/Worker/BuildWorker.php (97%) rename src/{PHPCI => PHPCensor}/ZeroConfigPlugin.php (90%) rename tests/{PHPCI => PHPCensor}/Command/CreateAdminCommandTest.php (91%) rename tests/{PHPCI => PHPCensor}/Command/CreateBuildCommandTest.php (86%) rename tests/{PHPCI => PHPCensor}/Command/InstallCommandTest.php (98%) rename tests/{PHPCI => PHPCensor}/Controller/WebhookControllerTest.php (93%) rename tests/{PHPCI => PHPCensor}/Helper/AnsiConverterTest.php (90%) rename tests/{PHPCI => PHPCensor}/Helper/BuildInterpolatorTest.php (88%) rename tests/{PHPCI => PHPCensor}/Helper/CommandExecutorTest.php (90%) rename tests/{PHPCI => PHPCensor}/Helper/LangTest.php (94%) rename tests/{PHPCI => PHPCensor}/Helper/MailerFactoryTest.php (97%) rename tests/{PHPCI => PHPCensor}/Logging/BuildLoggerTest.php (95%) rename tests/{PHPCI => PHPCensor}/Logging/LoggerConfigTest.php (97%) rename tests/{PHPCI => PHPCensor}/Model/BuildTest.php (96%) rename tests/{PHPCI => PHPCensor}/Model/ProjectTest.php (96%) rename tests/{PHPCI => PHPCensor}/Plugin/EmailTest.php (97%) rename tests/{PHPCI => PHPCensor}/Plugin/PharTest.php (92%) rename tests/{PHPCI => PHPCensor}/Plugin/Util/ComposerPluginInformationTest.php (90%) rename tests/{PHPCI => PHPCensor}/Plugin/Util/ExamplePluginConfig.php (89%) rename tests/{PHPCI => PHPCensor}/Plugin/Util/ExecutorTest.php (77%) rename tests/{PHPCI => PHPCensor}/Plugin/Util/FactoryTest.php (94%) rename tests/{PHPCI => PHPCensor}/Plugin/Util/Fake/ExamplePluginFull.php (82%) rename tests/{PHPCI => PHPCensor}/Plugin/Util/Fake/ExamplePluginWithNoConstructorArgs.php (83%) rename tests/{PHPCI => PHPCensor}/Plugin/Util/Fake/ExamplePluginWithSingleOptionalArg.php (85%) rename tests/{PHPCI => PHPCensor}/Plugin/Util/Fake/ExamplePluginWithSingleRequiredArg.php (87%) rename tests/{PHPCI => PHPCensor}/Plugin/Util/Fake/ExamplePluginWithSingleTypedRequiredArg.php (88%) rename tests/{PHPCI => PHPCensor}/Plugin/Util/FilesPluginInformationTest.php (86%) rename tests/{PHPCI => PHPCensor}/Plugin/Util/TapParserTest.php (99%) rename tests/{PHPCI => PHPCensor}/ProcessControl/PosixProcessControlTest.php (77%) rename tests/{PHPCI => PHPCensor}/ProcessControl/ProcessControlTest.php (98%) rename tests/{PHPCI => PHPCensor}/ProcessControl/UnixProcessControlTest.php (81%) rename tests/{PHPCI => PHPCensor}/ProcessControl/WindowsProcessControlTest.php (80%) rename tests/{PHPCI => PHPCensor}/Service/BuildServiceTest.php (92%) rename tests/{PHPCI => PHPCensor}/Service/BuiltStatusServiceTest.php (96%) rename tests/{PHPCI => PHPCensor}/Service/ProjectServiceTest.php (94%) rename tests/{PHPCI => PHPCensor}/Service/UserServiceTest.php (94%) diff --git a/.gitignore b/.gitignore index 39844871..321de2a3 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,3 @@ /app/loggerconfig.php /app/pluginconfig.php /app/config.yml -/tests/PHPCI/config.yml diff --git a/app/phinx.php b/app/phinx.php index 687b9249..6b901faa 100644 --- a/app/phinx.php +++ b/app/phinx.php @@ -18,7 +18,7 @@ if (!is_array($writeServers)) { $conf = [ 'paths' => [ - 'migrations' => 'src/PHPCI/Migrations', + 'migrations' => 'src/PHPCensor/Migrations', ], 'environments' => [ 'default_migration_table' => 'migration', diff --git a/app/pluginconfig.example.php b/app/pluginconfig.example.php index ac5f7724..538d30ff 100644 --- a/app/pluginconfig.example.php +++ b/app/pluginconfig.example.php @@ -1,6 +1,6 @@ registerResource( // This function will be called when the resource is needed. function() { @@ -18,6 +18,6 @@ return function (PHPCI\Plugin\Util\Factory $factory) { "ResourceArray", // The resource will only be given when the type hint is: - PHPCI\Plugin\Util\Factory::TYPE_ARRAY + PHPCensor\Plugin\Util\Factory::TYPE_ARRAY ); }; diff --git a/bin/console b/bin/console index c6de3a00..b0826611 100755 --- a/bin/console +++ b/bin/console @@ -9,17 +9,17 @@ * @link http://www.phptesting.org/ */ -use PHPCI\Command\RunCommand; -use PHPCI\Command\RebuildCommand; -use PHPCI\Command\UpdateCommand; -use PHPCI\Command\InstallCommand; -use PHPCI\Command\DaemonCommand; -use PHPCI\Command\PollCommand; -use PHPCI\Command\CreateAdminCommand; -use PHPCI\Command\CreateBuildCommand; -use PHPCI\Command\WorkerCommand; -use PHPCI\Command\RebuildQueueCommand; -use PHPCI\Service\BuildService; +use PHPCensor\Command\RunCommand; +use PHPCensor\Command\RebuildCommand; +use PHPCensor\Command\UpdateCommand; +use PHPCensor\Command\InstallCommand; +use PHPCensor\Command\DaemonCommand; +use PHPCensor\Command\PollCommand; +use PHPCensor\Command\CreateAdminCommand; +use PHPCensor\Command\CreateBuildCommand; +use PHPCensor\Command\WorkerCommand; +use PHPCensor\Command\RebuildQueueCommand; +use PHPCensor\Service\BuildService; use Symfony\Component\Console\Application; use b8\Store\Factory; diff --git a/bin/daemonise b/bin/daemonise index 29314c5f..25271525 100755 --- a/bin/daemonise +++ b/bin/daemonise @@ -9,7 +9,7 @@ * @link http://www.phptesting.org/ */ -use PHPCI\Command\DaemoniseCommand; +use PHPCensor\Command\DaemoniseCommand; use Symfony\Component\Console\Application; define('PHPCI_IS_CONSOLE', true); diff --git a/bootstrap.php b/bootstrap.php index 25968cd3..6d9f5912 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -7,14 +7,14 @@ * @link http://www.phptesting.org/ */ -use PHPCI\Logging\LoggerConfig; +use PHPCensor\Logging\LoggerConfig; if (!defined('ROOT_DIR')) { define('ROOT_DIR', __DIR__ . DIRECTORY_SEPARATOR); } if (!defined('PHPCI_DIR')) { - define('PHPCI_DIR', ROOT_DIR . 'src' . DIRECTORY_SEPARATOR . 'PHPCI' . DIRECTORY_SEPARATOR); + define('PHPCI_DIR', ROOT_DIR . 'src' . DIRECTORY_SEPARATOR . 'PHPCensor' . DIRECTORY_SEPARATOR); } if (!defined('PHPCI_PUBLIC_DIR')) { @@ -43,7 +43,7 @@ if (!defined('IS_WIN')) { require_once(ROOT_DIR . 'vendor/autoload.php'); -\PHPCI\ErrorHandler::register(); +\PHPCensor\ErrorHandler::register(); if (defined('PHPCI_IS_CONSOLE') && PHPCI_IS_CONSOLE) { $loggerConfig = LoggerConfig::newFromFile(PHPCI_APP_DIR . "loggerconfig.php"); @@ -51,7 +51,7 @@ if (defined('PHPCI_IS_CONSOLE') && PHPCI_IS_CONSOLE) { // Load configuration if present: $conf = []; -$conf['b8']['app']['namespace'] = 'PHPCI'; +$conf['b8']['app']['namespace'] = 'PHPCensor'; $conf['b8']['app']['default_controller'] = 'Home'; $conf['b8']['view']['path'] = PHPCI_DIR . 'View' . DIRECTORY_SEPARATOR; @@ -70,4 +70,4 @@ if (!defined('PHPCI_IS_CONSOLE')) { define('PHPCI_IS_CONSOLE', false); } -\PHPCI\Helper\Lang::init($config); +\PHPCensor\Helper\Lang::init($config); diff --git a/composer.json b/composer.json index e27fd0bc..c6f81f78 100644 --- a/composer.json +++ b/composer.json @@ -26,14 +26,14 @@ }, "autoload": { "psr-4": { - "PHPCI\\": "src/PHPCI/", - "b8\\": "src/B8Framework/" + "PHPCensor\\": "src/PHPCensor/", + "b8\\": "src/B8Framework/" } }, "autoload-dev": { "psr-4": { - "Tests\\PHPCI\\": "tests/PHPCI/", - "Tests\\b8\\": "tests/B8Framework/" + "Tests\\PHPCensor\\": "tests/PHPCensor/", + "Tests\\b8\\": "tests/B8Framework/" } }, "require": { diff --git a/composer.lock b/composer.lock index bc775fde..b4384b69 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "1a7e6ffa53784a02d845d40fc34455f1", - "content-hash": "aea45980fd51944fe67aeb4a0677ec88", + "hash": "051fd6b7588f4f8e7d0a838f6a98b892", + "content-hash": "aadffadc413d506fc161c5486c8bd885", "packages": [ { "name": "ircmaxell/password-compat", @@ -262,16 +262,16 @@ }, { "name": "robmorgan/phinx", - "version": "v0.5.3", + "version": "v0.5.5", "source": { "type": "git", "url": "https://github.com/robmorgan/phinx.git", - "reference": "4e7fee7792f4bf3dbf55ee29001850ba26c86a88" + "reference": "da9950a5e5b9314ebf72ddc6317ed587ce9ba8dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/robmorgan/phinx/zipball/4e7fee7792f4bf3dbf55ee29001850ba26c86a88", - "reference": "4e7fee7792f4bf3dbf55ee29001850ba26c86a88", + "url": "https://api.github.com/repos/robmorgan/phinx/zipball/da9950a5e5b9314ebf72ddc6317ed587ce9ba8dc", + "reference": "da9950a5e5b9314ebf72ddc6317ed587ce9ba8dc", "shasum": "" }, "require": { @@ -297,17 +297,17 @@ "MIT" ], "authors": [ - { - "name": "Rob Morgan", - "email": "robbym@gmail.com", - "homepage": "http://robmorgan.id.au", - "role": "Lead Developer" - }, { "name": "Woody Gilk", "email": "woody.gilk@gmail.com", "homepage": "http://shadowhand.me", "role": "Developer" + }, + { + "name": "Rob Morgan", + "email": "robbym@gmail.com", + "homepage": "https://robmorgan.id.au", + "role": "Lead Developer" } ], "description": "Phinx makes it ridiculously easy to manage the database migrations for your PHP app.", @@ -319,7 +319,7 @@ "migrations", "phinx" ], - "time": "2016-03-07 14:09:22" + "time": "2016-06-17 15:29:02" }, { "name": "sensiolabs/ansi-to-html", @@ -367,23 +367,23 @@ }, { "name": "swiftmailer/swiftmailer", - "version": "v5.4.1", + "version": "v5.4.3", "source": { "type": "git", "url": "https://github.com/swiftmailer/swiftmailer.git", - "reference": "0697e6aa65c83edf97bb0f23d8763f94e3f11421" + "reference": "4cc92842069c2bbc1f28daaaf1d2576ec4dfe153" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/0697e6aa65c83edf97bb0f23d8763f94e3f11421", - "reference": "0697e6aa65c83edf97bb0f23d8763f94e3f11421", + "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/4cc92842069c2bbc1f28daaaf1d2576ec4dfe153", + "reference": "4cc92842069c2bbc1f28daaaf1d2576ec4dfe153", "shasum": "" }, "require": { "php": ">=5.3.3" }, "require-dev": { - "mockery/mockery": "~0.9.1,<0.9.4" + "mockery/mockery": "~0.9.1" }, "type": "library", "extra": { @@ -416,20 +416,20 @@ "mail", "mailer" ], - "time": "2015-06-06 14:19:39" + "time": "2016-07-08 11:51:25" }, { "name": "symfony/config", - "version": "v3.0.4", + "version": "v3.1.2", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "980ee40c28f00acff8906c11b778aab5f0db74c2" + "reference": "bcf5aebabc95b56e370e13d78565f74c7d8726dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/980ee40c28f00acff8906c11b778aab5f0db74c2", - "reference": "980ee40c28f00acff8906c11b778aab5f0db74c2", + "url": "https://api.github.com/repos/symfony/config/zipball/bcf5aebabc95b56e370e13d78565f74c7d8726dc", + "reference": "bcf5aebabc95b56e370e13d78565f74c7d8726dc", "shasum": "" }, "require": { @@ -442,7 +442,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "3.1-dev" } }, "autoload": { @@ -469,20 +469,20 @@ ], "description": "Symfony Config Component", "homepage": "https://symfony.com", - "time": "2016-03-04 07:55:57" + "time": "2016-06-29 05:41:56" }, { "name": "symfony/console", - "version": "v2.8.4", + "version": "v2.8.8", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "9a5aef5fc0d4eff86853d44202b02be8d5a20154" + "reference": "c392a6ec72f2122748032c2ad6870420561ffcfa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/9a5aef5fc0d4eff86853d44202b02be8d5a20154", - "reference": "9a5aef5fc0d4eff86853d44202b02be8d5a20154", + "url": "https://api.github.com/repos/symfony/console/zipball/c392a6ec72f2122748032c2ad6870420561ffcfa", + "reference": "c392a6ec72f2122748032c2ad6870420561ffcfa", "shasum": "" }, "require": { @@ -529,20 +529,20 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2016-03-17 09:19:04" + "time": "2016-06-29 07:02:14" }, { "name": "symfony/filesystem", - "version": "v3.0.4", + "version": "v3.1.2", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "f82499a459dcade2ea56df94cc58b19c8bde3d20" + "reference": "322da5f0910d8aa0b25fa65ffccaba68dbddb890" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/f82499a459dcade2ea56df94cc58b19c8bde3d20", - "reference": "f82499a459dcade2ea56df94cc58b19c8bde3d20", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/322da5f0910d8aa0b25fa65ffccaba68dbddb890", + "reference": "322da5f0910d8aa0b25fa65ffccaba68dbddb890", "shasum": "" }, "require": { @@ -551,7 +551,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "3.1-dev" } }, "autoload": { @@ -578,20 +578,20 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "time": "2016-03-27 10:24:39" + "time": "2016-06-29 05:41:56" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.1.1", + "version": "v1.2.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "1289d16209491b584839022f29257ad859b8532d" + "reference": "dff51f72b0706335131b00a7f49606168c582594" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/1289d16209491b584839022f29257ad859b8532d", - "reference": "1289d16209491b584839022f29257ad859b8532d", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/dff51f72b0706335131b00a7f49606168c582594", + "reference": "dff51f72b0706335131b00a7f49606168c582594", "shasum": "" }, "require": { @@ -603,7 +603,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1-dev" + "dev-master": "1.2-dev" } }, "autoload": { @@ -637,20 +637,20 @@ "portable", "shim" ], - "time": "2016-01-20 09:13:37" + "time": "2016-05-18 14:26:46" }, { "name": "symfony/yaml", - "version": "v2.8.4", + "version": "v2.8.8", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "584e52cb8f788a887553ba82db6caacb1d6260bb" + "reference": "dba4bb5846798cd12f32e2d8f3f35d77045773c8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/584e52cb8f788a887553ba82db6caacb1d6260bb", - "reference": "584e52cb8f788a887553ba82db6caacb1d6260bb", + "url": "https://api.github.com/repos/symfony/yaml/zipball/dba4bb5846798cd12f32e2d8f3f35d77045773c8", + "reference": "dba4bb5846798cd12f32e2d8f3f35d77045773c8", "shasum": "" }, "require": { @@ -686,7 +686,7 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2016-03-04 07:54:35" + "time": "2016-06-29 05:29:29" } ], "packages-dev": [ @@ -885,38 +885,87 @@ "time": "2016-03-10 15:15:04" }, { - "name": "phpdocumentor/reflection-docblock", - "version": "2.0.4", + "name": "phpdocumentor/reflection-common", + "version": "1.0", "source": { "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "d68dbdc53dc358a816f00b300704702b2eaff7b8" + "url": "https://github.com/phpDocumentor/ReflectionCommon.git", + "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/d68dbdc53dc358a816f00b300704702b2eaff7b8", - "reference": "d68dbdc53dc358a816f00b300704702b2eaff7b8", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c", + "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=5.5" }, "require-dev": { - "phpunit/phpunit": "~4.0" - }, - "suggest": { - "dflydev/markdown": "~1.0", - "erusev/parsedown": "~1.0" + "phpunit/phpunit": "^4.6" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "1.0.x-dev" } }, "autoload": { - "psr-0": { - "phpDocumentor": [ + "psr-4": { + "phpDocumentor\\Reflection\\": [ + "src" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jaap van Otterdijk", + "email": "opensource@ijaap.nl" + } + ], + "description": "Common reflection classes used by phpdocumentor to reflect the code structure", + "homepage": "http://www.phpdoc.org", + "keywords": [ + "FQSEN", + "phpDocumentor", + "phpdoc", + "reflection", + "static analysis" + ], + "time": "2015-12-27 11:43:31" + }, + { + "name": "phpdocumentor/reflection-docblock", + "version": "3.1.0", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", + "reference": "9270140b940ff02e58ec577c237274e92cd40cdd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/9270140b940ff02e58ec577c237274e92cd40cdd", + "reference": "9270140b940ff02e58ec577c237274e92cd40cdd", + "shasum": "" + }, + "require": { + "php": ">=5.5", + "phpdocumentor/reflection-common": "^1.0@dev", + "phpdocumentor/type-resolver": "^0.2.0", + "webmozart/assert": "^1.0" + }, + "require-dev": { + "mockery/mockery": "^0.9.4", + "phpunit/phpunit": "^4.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": [ "src/" ] } @@ -928,30 +977,78 @@ "authors": [ { "name": "Mike van Riel", - "email": "mike.vanriel@naenius.com" + "email": "me@mikevanriel.com" } ], - "time": "2015-02-03 12:10:50" + "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", + "time": "2016-06-10 09:48:41" }, { - "name": "phploc/phploc", - "version": "3.0.0", + "name": "phpdocumentor/type-resolver", + "version": "0.2", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/phploc.git", - "reference": "2917d010fbfd503d9e836cefff249cb3c1b3f17a" + "url": "https://github.com/phpDocumentor/TypeResolver.git", + "reference": "b39c7a5b194f9ed7bd0dd345c751007a41862443" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phploc/zipball/2917d010fbfd503d9e836cefff249cb3c1b3f17a", - "reference": "2917d010fbfd503d9e836cefff249cb3c1b3f17a", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/b39c7a5b194f9ed7bd0dd345c751007a41862443", + "reference": "b39c7a5b194f9ed7bd0dd345c751007a41862443", + "shasum": "" + }, + "require": { + "php": ">=5.5", + "phpdocumentor/reflection-common": "^1.0" + }, + "require-dev": { + "mockery/mockery": "^0.9.4", + "phpunit/phpunit": "^5.2||^4.8.24" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": [ + "src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + } + ], + "time": "2016-06-10 07:14:17" + }, + { + "name": "phploc/phploc", + "version": "3.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phploc.git", + "reference": "74f917e6f80f291856989960d31afa44a4196859" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phploc/zipball/74f917e6f80f291856989960d31afa44a4196859", + "reference": "74f917e6f80f291856989960d31afa44a4196859", "shasum": "" }, "require": { "php": ">=5.6", "sebastian/finder-facade": "~1.1", - "sebastian/git": "~2.0", - "sebastian/version": "~1.0.3", + "sebastian/git": "~2.1", + "sebastian/version": "~1.0.3|~2.0", "symfony/console": "~2.5|~3.0" }, "require-dev": { @@ -984,24 +1081,24 @@ ], "description": "A tool for quickly measuring the size of a PHP project.", "homepage": "https://github.com/sebastianbergmann/phploc", - "time": "2016-01-13 10:20:53" + "time": "2016-04-25 08:11:21" }, { "name": "phpmd/phpmd", - "version": "2.4.2", + "version": "2.4.3", "source": { "type": "git", "url": "https://github.com/phpmd/phpmd.git", - "reference": "fccbdb6b222f6d7a6d35af1c396ba5435cec76a9" + "reference": "2b9c2417a18696dfb578b38c116cd0ddc19b256e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpmd/phpmd/zipball/fccbdb6b222f6d7a6d35af1c396ba5435cec76a9", - "reference": "fccbdb6b222f6d7a6d35af1c396ba5435cec76a9", + "url": "https://api.github.com/repos/phpmd/phpmd/zipball/2b9c2417a18696dfb578b38c116cd0ddc19b256e", + "reference": "2b9c2417a18696dfb578b38c116cd0ddc19b256e", "shasum": "" }, "require": { - "pdepend/pdepend": "~2.0", + "pdepend/pdepend": "^2.0.4", "php": ">=5.3.0" }, "require-dev": { @@ -1049,36 +1146,36 @@ "phpmd", "pmd" ], - "time": "2016-03-10 17:17:44" + "time": "2016-04-04 11:52:04" }, { "name": "phpspec/prophecy", - "version": "v1.6.0", + "version": "v1.6.1", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "3c91bdf81797d725b14cb62906f9a4ce44235972" + "reference": "58a8137754bc24b25740d4281399a4a3596058e0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/3c91bdf81797d725b14cb62906f9a4ce44235972", - "reference": "3c91bdf81797d725b14cb62906f9a4ce44235972", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/58a8137754bc24b25740d4281399a4a3596058e0", + "reference": "58a8137754bc24b25740d4281399a4a3596058e0", "shasum": "" }, "require": { "doctrine/instantiator": "^1.0.2", "php": "^5.3|^7.0", - "phpdocumentor/reflection-docblock": "~2.0", - "sebastian/comparator": "~1.1", - "sebastian/recursion-context": "~1.0" + "phpdocumentor/reflection-docblock": "^2.0|^3.0.2", + "sebastian/comparator": "^1.1", + "sebastian/recursion-context": "^1.0" }, "require-dev": { - "phpspec/phpspec": "~2.0" + "phpspec/phpspec": "^2.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.5.x-dev" + "dev-master": "1.6.x-dev" } }, "autoload": { @@ -1111,7 +1208,7 @@ "spy", "stub" ], - "time": "2016-02-15 07:46:21" + "time": "2016-06-07 08:13:47" }, { "name": "phpunit/php-code-coverage", @@ -1265,21 +1362,24 @@ }, { "name": "phpunit/php-timer", - "version": "1.0.7", + "version": "1.0.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "3e82f4e9fc92665fafd9157568e4dcb01d014e5b" + "reference": "38e9124049cf1a164f1e4537caf19c99bf1eb260" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3e82f4e9fc92665fafd9157568e4dcb01d014e5b", - "reference": "3e82f4e9fc92665fafd9157568e4dcb01d014e5b", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/38e9124049cf1a164f1e4537caf19c99bf1eb260", + "reference": "38e9124049cf1a164f1e4537caf19c99bf1eb260", "shasum": "" }, "require": { "php": ">=5.3.3" }, + "require-dev": { + "phpunit/phpunit": "~4|~5" + }, "type": "library", "autoload": { "classmap": [ @@ -1302,7 +1402,7 @@ "keywords": [ "timer" ], - "time": "2015-06-21 08:01:12" + "time": "2016-05-12 18:03:57" }, { "name": "phpunit/php-token-stream", @@ -1355,16 +1455,16 @@ }, { "name": "phpunit/phpunit", - "version": "4.8.24", + "version": "4.8.26", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "a1066c562c52900a142a0e2bbf0582994671385e" + "reference": "fc1d8cd5b5de11625979125c5639347896ac2c74" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a1066c562c52900a142a0e2bbf0582994671385e", - "reference": "a1066c562c52900a142a0e2bbf0582994671385e", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/fc1d8cd5b5de11625979125c5639347896ac2c74", + "reference": "fc1d8cd5b5de11625979125c5639347896ac2c74", "shasum": "" }, "require": { @@ -1378,7 +1478,7 @@ "phpunit/php-code-coverage": "~2.1", "phpunit/php-file-iterator": "~1.4", "phpunit/php-text-template": "~1.2", - "phpunit/php-timer": ">=1.0.6", + "phpunit/php-timer": "^1.0.6", "phpunit/phpunit-mock-objects": "~2.3", "sebastian/comparator": "~1.1", "sebastian/diff": "~1.2", @@ -1423,7 +1523,7 @@ "testing", "xunit" ], - "time": "2016-03-14 06:16:08" + "time": "2016-05-17 03:09:28" }, { "name": "phpunit/phpunit-mock-objects", @@ -1599,16 +1699,16 @@ }, { "name": "sebastian/environment", - "version": "1.3.5", + "version": "1.3.7", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "dc7a29032cf72b54f36dac15a1ca5b3a1b6029bf" + "reference": "4e8f0da10ac5802913afc151413bc8c53b6c2716" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/dc7a29032cf72b54f36dac15a1ca5b3a1b6029bf", - "reference": "dc7a29032cf72b54f36dac15a1ca5b3a1b6029bf", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/4e8f0da10ac5802913afc151413bc8c53b6c2716", + "reference": "4e8f0da10ac5802913afc151413bc8c53b6c2716", "shasum": "" }, "require": { @@ -1645,20 +1745,20 @@ "environment", "hhvm" ], - "time": "2016-02-26 18:40:46" + "time": "2016-05-17 03:18:57" }, { "name": "sebastian/exporter", - "version": "1.2.1", + "version": "1.2.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "7ae5513327cb536431847bcc0c10edba2701064e" + "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/7ae5513327cb536431847bcc0c10edba2701064e", - "reference": "7ae5513327cb536431847bcc0c10edba2701064e", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4", + "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4", "shasum": "" }, "require": { @@ -1666,12 +1766,13 @@ "sebastian/recursion-context": "~1.0" }, "require-dev": { + "ext-mbstring": "*", "phpunit/phpunit": "~4.4" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2.x-dev" + "dev-master": "1.3.x-dev" } }, "autoload": { @@ -1711,7 +1812,7 @@ "export", "exporter" ], - "time": "2015-06-21 07:55:53" + "time": "2016-06-17 09:04:28" }, { "name": "sebastian/finder-facade", @@ -1754,16 +1855,16 @@ }, { "name": "sebastian/git", - "version": "2.1.1", + "version": "2.1.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/git.git", - "reference": "38638de3e94830a5cd7a5956135589b967609cd5" + "reference": "5100bc50cd9e70f424c643618e142214225024f3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/git/zipball/38638de3e94830a5cd7a5956135589b967609cd5", - "reference": "38638de3e94830a5cd7a5956135589b967609cd5", + "url": "https://api.github.com/repos/sebastianbergmann/git/zipball/5100bc50cd9e70f424c643618e142214225024f3", + "reference": "5100bc50cd9e70f424c643618e142214225024f3", "shasum": "" }, "require": { @@ -1795,7 +1896,7 @@ "keywords": [ "git" ], - "time": "2016-02-21 15:02:23" + "time": "2016-06-15 09:30:19" }, { "name": "sebastian/global-state", @@ -1850,23 +1951,23 @@ }, { "name": "sebastian/phpcpd", - "version": "2.0.3", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpcpd.git", - "reference": "6f868833a18de143d5733eafb5078b9801f8052b" + "reference": "24d9a880deadb0b8c9680e9cfe78e30b704225db" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpcpd/zipball/6f868833a18de143d5733eafb5078b9801f8052b", - "reference": "6f868833a18de143d5733eafb5078b9801f8052b", + "url": "https://api.github.com/repos/sebastianbergmann/phpcpd/zipball/24d9a880deadb0b8c9680e9cfe78e30b704225db", + "reference": "24d9a880deadb0b8c9680e9cfe78e30b704225db", "shasum": "" }, "require": { "php": ">=5.3.3", "phpunit/php-timer": ">=1.0.6", "sebastian/finder-facade": "~1.1", - "sebastian/version": "~1.0", + "sebastian/version": "~1.0|~2.0", "symfony/console": "~2.7|^3.0", "theseer/fdomdocument": "~1.4" }, @@ -1897,7 +1998,7 @@ ], "description": "Copy/Paste Detector (CPD) for PHP code.", "homepage": "https://github.com/sebastianbergmann/phpcpd", - "time": "2016-04-17 13:55:09" + "time": "2016-04-17 19:32:49" }, { "name": "sebastian/recursion-context", @@ -1989,16 +2090,16 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "2.6.0", + "version": "2.6.2", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "1bcdf03b068a530ac1962ce671dead356eeba43b" + "reference": "4edb770cb853def6e60c93abb088ad5ac2010c83" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/1bcdf03b068a530ac1962ce671dead356eeba43b", - "reference": "1bcdf03b068a530ac1962ce671dead356eeba43b", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/4edb770cb853def6e60c93abb088ad5ac2010c83", + "reference": "4edb770cb853def6e60c93abb088ad5ac2010c83", "shasum": "" }, "require": { @@ -2063,20 +2164,20 @@ "phpcs", "standards" ], - "time": "2016-04-03 22:58:34" + "time": "2016-07-13 23:29:13" }, { "name": "symfony/dependency-injection", - "version": "v3.0.4", + "version": "v3.1.2", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "6a9058101b591edced21ca3c83c80a3978f5c6b0" + "reference": "b7272b65f2f46cbe77def7d33916f2613669c508" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/6a9058101b591edced21ca3c83c80a3978f5c6b0", - "reference": "6a9058101b591edced21ca3c83c80a3978f5c6b0", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/b7272b65f2f46cbe77def7d33916f2613669c508", + "reference": "b7272b65f2f46cbe77def7d33916f2613669c508", "shasum": "" }, "require": { @@ -2089,13 +2190,14 @@ }, "suggest": { "symfony/config": "", + "symfony/expression-language": "For using expressions in service container configuration", "symfony/proxy-manager-bridge": "Generate service proxies to lazy load them", "symfony/yaml": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "3.1-dev" } }, "autoload": { @@ -2122,20 +2224,20 @@ ], "description": "Symfony DependencyInjection Component", "homepage": "https://symfony.com", - "time": "2016-03-30 10:41:14" + "time": "2016-06-29 05:42:25" }, { "name": "symfony/finder", - "version": "v3.0.4", + "version": "v3.1.2", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "c54e407b35bc098916704e9fd090da21da4c4f52" + "reference": "8201978de88a9fa0923e18601bb17f1df9c721e7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/c54e407b35bc098916704e9fd090da21da4c4f52", - "reference": "c54e407b35bc098916704e9fd090da21da4c4f52", + "url": "https://api.github.com/repos/symfony/finder/zipball/8201978de88a9fa0923e18601bb17f1df9c721e7", + "reference": "8201978de88a9fa0923e18601bb17f1df9c721e7", "shasum": "" }, "require": { @@ -2144,7 +2246,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "3.1-dev" } }, "autoload": { @@ -2171,7 +2273,7 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2016-03-10 11:13:05" + "time": "2016-06-29 05:41:56" }, { "name": "theseer/fdomdocument", @@ -2212,6 +2314,55 @@ "description": "The classes contained within this repository extend the standard DOM to use exceptions at all occasions of errors instead of PHP warnings or notices. They also add various custom methods and shortcuts for convenience and to simplify the usage of DOM.", "homepage": "https://github.com/theseer/fDOMDocument", "time": "2015-05-27 22:58:02" + }, + { + "name": "webmozart/assert", + "version": "1.0.2", + "source": { + "type": "git", + "url": "https://github.com/webmozart/assert.git", + "reference": "30eed06dd6bc88410a4ff7f77b6d22f3ce13dbde" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozart/assert/zipball/30eed06dd6bc88410a4ff7f77b6d22f3ce13dbde", + "reference": "30eed06dd6bc88410a4ff7f77b6d22f3ce13dbde", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "^4.6" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "psr-4": { + "Webmozart\\Assert\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Assertions to validate method input/output with nice error messages.", + "keywords": [ + "assert", + "check", + "validate" + ], + "time": "2015-08-24 13:29:44" } ], "aliases": [], diff --git a/phpcs.xml b/phpcs.xml index 82a65c73..9aa40933 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -10,9 +10,9 @@ - src/PHPCI/Migrations/* - src/PHPCI/Model/Base/* - src/PHPCI/Languages/* + src/PHPCensor/Migrations/* + src/PHPCensor/Model/Base/* + src/PHPCensor/Languages/* tests/* vendor/* diff --git a/phpunit.xml b/phpunit.xml index 51d85c42..166bea97 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -13,28 +13,28 @@ > - ./tests/PHPCI/Controller + ./tests/PHPCensor/Controller - ./tests/PHPCI/Helper + ./tests/PHPCensor/Helper - ./tests/PHPCI/Logging + ./tests/PHPCensor/Logging - ./tests/PHPCI/Model + ./tests/PHPCensor/Model - ./tests/PHPCI/Plugin + ./tests/PHPCensor/Plugin - ./tests/PHPCI/Service + ./tests/PHPCensor/Service