mondrake
mondrake
OK it was my mistake I was trying to introspect the "system" schema, I was not logging in the relevant user/schema. In any case I think a better error message...
Steps to reproduce, just in case: 1) in a test environment on GitHub using the oracle service with image `wnameless/oracle-xe-11g-r2` 2) login to oracle with system user, `$tmpConnection = DriverManager::getConnection(["url"...
@morozov this is a simplified version of the code that fails for me ``` $table = new Table('"tester"'); $table->addColumn('"id"', Types::INTEGER); $table->addColumn('"name"', Types::STRING); $table->addColumn('"test_field"', Types::STRING); $schemaManager = $tmpConnection->createSchemaManager(); $schemaManager->dropAndCreateTable($table); $current_schema =...
Thanks @morozov
Something along this lines may be useful in [Drupal](https://www.drupal.org/project/drupal/issues/3262937). Drupal runs deprecation tests via PHPUnit and the Symfony's PHPUnit bridge. Current policy for runtime deprecated code is to write a...
See also explicitly https://www.drupal.org/project/drupal/issues/3263109#comment-14402473
Thanks, opened https://github.com/phpstan/phpstan-deprecation-rules/issues/64
I think this will become a pretty common pattern in Drupaland in the future, for instance in extending container-aware plugins from a base plugin, or even in extending further. See...
Example from a contrib module I am maintaining ``` abstract class FileMetadataPluginBase extends PluginBase implements FileMetadataPluginInterface { /** * Constructs a FileMetadataPluginBase plugin. * * @param array $configuration * A...
I wonder: would it make sense to have an annotation or similar that informs that a specific method is initialising a readonly property? For example (illustrative) ``` /** * @initializes...