Skip to content

Commit

Permalink
[TASK] Move to official TYPO3 namespace
Browse files Browse the repository at this point in the history
This change:

* Switches PHP namespace to TYPO3\FluidSchemaGenerator
* Switches Packagist name to typo3/fluid-schema-generator
* Updates dependencies, metadata and documentation accordingly
  • Loading branch information
NamelessCoder committed Dec 5, 2016
1 parent bcb17c6 commit f8ee709
Show file tree
Hide file tree
Showing 10 changed files with 706 additions and 180 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Installation
------------

```bash
composer require typo3fluid/schema-generator
composer require typo3/fluid-schema-generator
```

Usage
Expand Down
2 changes: 1 addition & 1 deletion bin/generateschema
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ foreach ($namespaces as $namespace) {
exitWithError(sprintf('Directory "%s" does not exist but is declared in composer autoload entries', $classesPath));
}
}
$generator = new \TYPO3Fluid\SchemaGenerator\SchemaGenerator();
$generator = new \TYPO3\FluidSchemaGenerator\SchemaGenerator();
$xsd = $generator->generateXsd($namespaceClassPathMap);

echo $xsd;
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"name": "typo3fluid/schema-generator",
"name": "typo3/fluid-schema-generator",
"description": "Generates XSD schemas for packages containing Fluid ViewHelpers",
"license": ["MIT"],
"require": {
"typo3fluid/fluid": ">=1.0 <=2.0"
"typo3fluid/fluid": "^1.0|^2.0"
},
"require-dev": {
"phpunit/phpunit": "4.3.*",
"mikey179/vfsStream": "~1.3.0",
"satooshi/php-coveralls": "*",
"phpunit/phpunit": "^5.7",
"mikey179/vfsStream": "^1.6",
"squizlabs/php_codesniffer": "^2.7"
},
"autoload": {
"psr-4": {
"TYPO3Fluid\\SchemaGenerator\\": "src/"
"TYPO3\\FluidSchemaGenerator\\": "src/"
}
},
"bin": [
Expand Down

0 comments on commit f8ee709

Please sign in to comment.