Closed ruudwame closed 5 years ago
When generating a CRUD controller for the App/Entity/User entity and choosing admin as subdirectory the generated (Form)Type and Controller were placed in the wrong directory...
App/Entity/User
admin
Using subdirectory "admin" [WARNING] Cannot generate datatable: SgDatatablesBundle is not enabled. [OK] Created/Updated file src/Controller/AbstractController.php [OK] Created/Updated file src\Entity\UserController.php [OK] Created/Updated file src\Entity\UserType.php [OK] Created/Updated file src/Security/AbstractVoter.php [OK] Created/Updated file src\Entity\UserVoter.php [OK] Created/Updated file templates/admin/user/index.html.twig [OK] Created/Updated file templates/admin/user/show.html.twig [OK] Created/Updated file templates/admin/user/new.html.twig [OK] Created/Updated file templates/admin/user/edit.html.twig [OK] Created/Updated file templates/admin/user/delete.html.twig
(Run on windows PHP 7.2.11)
behat/transliterator v1.2.0 String transliterator doctrine/annotations v1.6.0 Docblock Annotations Parser doctrine/cache v1.8.0 Caching library offering an object-oriented... doctrine/collections v1.5.0 Collections Abstraction library doctrine/common v2.10.0 PHP Doctrine Common project is a library th... doctrine/data-fixtures v1.3.1 Data Fixtures for all Doctrine Object Managers doctrine/dbal v2.9.2 Powerful PHP database abstraction layer (DB... doctrine/doctrine-bundle 1.10.2 Symfony DoctrineBundle doctrine/doctrine-cache-bundle 1.3.5 Symfony Bundle for Doctrine Cache doctrine/doctrine-fixtures-bundle 3.1.0 Symfony DoctrineFixturesBundle doctrine/doctrine-migrations-bundle v2.0.0 Symfony DoctrineMigrationsBundle doctrine/event-manager v1.0.0 Doctrine Event Manager component doctrine/inflector v1.3.0 Common String Manipulations with regard to ... doctrine/instantiator 1.1.0 A small, lightweight utility to instantiate... doctrine/lexer v1.0.1 Base library for a lexer that can be used i... doctrine/migrations v2.0.0 PHP Doctrine Migrations project offer addit... doctrine/orm v2.6.3 Object-Relational-Mapper for PHP doctrine/persistence v1.1.0 The Doctrine Persistence project is a set o... doctrine/reflection v1.0.0 Doctrine Reflection component easycorp/easy-log-handler v1.0.7 A handler for Monolog that optimizes log me... egulias/email-validator 2.1.7 A library for validating emails against sev... facebook/webdriver 1.6.0 A PHP client for Selenium WebDriver fig/link-util 1.0.0 Common utility implementations for HTTP links friendsofsymfony/user-bundle v2.1.2 Symfony FOSUserBundle gedmo/doctrine-extensions v2.4.36 Doctrine2 behavioral extensions jdorn/sql-formatter v1.2.17 a PHP SQL highlighting library k3ssen/generator dev-master 3f43bbb Generate content for your symfony4 project monolog/monolog 1.24.0 Sends your logs to files, sockets, inboxes,... nikic/php-parser v4.2.0 A PHP parser written in PHP ocramius/package-versions 1.3.0 Composer plugin that provides efficient que... ocramius/proxy-manager 2.1.1 A library providing utilities to generate, ... phpdocumentor/reflection-common 1.0.1 Common reflection classes used by phpdocume... phpdocumentor/reflection-docblock 4.3.0 With this component, a library can provide ... phpdocumentor/type-resolver 0.4.0 phpstan/phpdoc-parser 0.3.1 PHPDoc parser with support for nullable, in... psr/cache 1.0.1 Common interface for caching libraries psr/container 1.0.0 Common Container Interface (PHP FIG PSR-11) psr/link 1.0.0 Common interfaces for HTTP links psr/log 1.1.0 Common interface for logging libraries psr/simple-cache 1.0.1 Common interfaces for simple caching sensio/framework-extra-bundle v5.2.4 This bundle provides a way to configure you... slevomat/coding-standard 5.0.0 Slevomat Coding Standard for PHP_CodeSniffe... squizlabs/php_codesniffer 3.4.0 PHP_CodeSniffer tokenizes PHP, JavaScript a... stof/doctrine-extensions-bundle v1.3.0 Integration of the gedmo/doctrine-extension... swiftmailer/swiftmailer v6.1.3 Swiftmailer, free feature-rich PHP mailer symfony/asset v4.2.3 Symfony Asset Component symfony/browser-kit v4.2.3 Symfony BrowserKit Component symfony/cache v4.2.3 Symfony Cache component with PSR-6, PSR-16,... symfony/config v4.2.3 Symfony Config Component symfony/console v4.2.3 Symfony Console Component symfony/contracts v1.0.2 A set of abstractions extracted out of the ... symfony/css-selector v4.2.3 Symfony CssSelector Component symfony/debug v4.2.3 Symfony Debug Component symfony/debug-bundle v4.2.3 Symfony DebugBundle symfony/debug-pack v1.0.7 A debug pack for Symfony projects symfony/dependency-injection v4.2.3 Symfony DependencyInjection Component symfony/doctrine-bridge v4.2.3 Symfony Doctrine Bridge symfony/dom-crawler v4.2.3 Symfony DomCrawler Component symfony/dotenv v4.2.3 Registers environment variables from a .env... symfony/event-dispatcher v4.2.3 Symfony EventDispatcher Component symfony/expression-language v4.2.3 Symfony ExpressionLanguage Component symfony/filesystem v4.2.3 Symfony Filesystem Component symfony/finder v4.2.3 Symfony Finder Component symfony/flex v1.1.8 Composer plugin for Symfony symfony/form v4.2.3 Symfony Form Component symfony/framework-bundle v4.2.3 Symfony FrameworkBundle symfony/http-foundation v4.2.3 Symfony HttpFoundation Component symfony/http-kernel v4.2.3 Symfony HttpKernel Component symfony/inflector v4.2.3 Symfony Inflector Component symfony/intl v4.2.3 A PHP replacement layer for the C intl exte... symfony/maker-bundle v1.11.3 Symfony Maker helps you create empty comman... symfony/monolog-bridge v4.2.3 Symfony Monolog Bridge symfony/monolog-bundle v3.3.1 Symfony MonologBundle symfony/options-resolver v4.2.3 Symfony OptionsResolver Component symfony/orm-pack v1.0.6 A pack for the Doctrine ORM symfony/panther v0.2.0 A browser testing and web scraping library ... symfony/phpunit-bridge v4.2.3 Symfony PHPUnit Bridge symfony/polyfill-intl-icu v1.10.0 Symfony polyfill for intl's ICU-related dat... symfony/polyfill-mbstring v1.10.0 Symfony polyfill for the Mbstring extension symfony/polyfill-php72 v1.10.0 Symfony polyfill backporting some PHP 7.2+ ... symfony/process v4.2.3 Symfony Process Component symfony/profiler-pack v1.0.4 A pack for the Symfony web profiler symfony/property-access v4.2.3 Symfony PropertyAccess Component symfony/property-info v4.2.3 Symfony Property Info Component symfony/routing v4.2.3 Symfony Routing Component symfony/security-bundle v4.2.3 Symfony SecurityBundle symfony/security-core v4.2.3 Symfony Security Component - Core Library symfony/security-csrf v4.2.3 Symfony Security Component - CSRF Library symfony/security-guard v4.2.3 Symfony Security Component - Guard symfony/security-http v4.2.3 Symfony Security Component - HTTP Integration symfony/serializer v4.2.3 Symfony Serializer Component symfony/serializer-pack v1.0.2 A pack for the Symfony serializer symfony/stopwatch v4.2.3 Symfony Stopwatch Component symfony/swiftmailer-bundle v3.2.5 Symfony SwiftmailerBundle symfony/templating v4.2.3 Symfony Templating Component symfony/test-pack v1.0.5 A pack for functional and end-to-end testin... symfony/translation v4.2.3 Symfony Translation Component symfony/twig-bridge v4.2.3 Symfony Twig Bridge symfony/twig-bundle v4.2.3 Symfony TwigBundle symfony/validator v4.2.3 Symfony Validator Component symfony/var-dumper v4.2.3 Symfony mechanism for exploring and dumping... symfony/var-exporter v4.2.3 A blend of var_export() + serialize() to tu... symfony/web-link v4.2.3 Symfony WebLink Component symfony/web-profiler-bundle v4.2.3 Symfony WebProfilerBundle symfony/webpack-encore-bundle v1.1.0 Integration with your Symfony app & Webpack... symfony/yaml v4.2.3 Symfony Yaml Component twig/twig v2.6.2 Twig, the flexible, fast, and secure templa... webmozart/assert 1.4.0 Assertions to validate method input/output ... zendframework/zend-code 3.3.1 provides facilities to generate arbitrary c... zendframework/zend-eventmanager 3.2.1 Trigger and listen to events within a PHP a...
This should now be fixed as of commit 032cff8e823dc6c012fbbc22c1c57d3d9567888a
When generating a CRUD controller for the
App/Entity/User
entity and choosingadmin
as subdirectory the generated (Form)Type and Controller were placed in the wrong directory...(Run on windows PHP 7.2.11)