-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from vm5/insights
Fix insights
- Loading branch information
Showing
17 changed files
with
49 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
/.idea | ||
/vendor | ||
composer.lock | ||
composer.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,4 +40,4 @@ public function onKernelRequest(GetResponseEvent $event) | |
{ | ||
$this->guessLoader->load(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,4 +75,4 @@ public function configureOptions(OptionsResolver $resolver) | |
|
||
$resolver->setDefaults($options); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,4 @@ public function guessLocale(); | |
* @return string[]|null | ||
*/ | ||
public function guessFallbackLocales(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,4 +46,4 @@ public function load() | |
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,4 +34,4 @@ public function guessFallbackLocales() | |
|
||
return null; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,4 @@ interface Language | |
* @return string | ||
*/ | ||
public function getLocale(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,4 +44,4 @@ | |
{{ form_widget(child) }} | ||
{{ form_errors(child) }} | ||
</div> | ||
{% endblock %} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -194,4 +194,4 @@ private function getId(Translatable $translatable) | |
{ | ||
return spl_object_hash($translatable); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,35 @@ | ||
{ | ||
"name": "vm5/entity-translations-bundle", | ||
"description": "This bundle provides translations for entities in your project. It's a bundle, but can be used standalone.", | ||
"type": "symfony-bundle", | ||
"authors": [ | ||
{ | ||
"name": "Bozhidar Hristov", | ||
"email": "[email protected]" | ||
"name": "vm5/entity-translations-bundle", | ||
"license": "MIT", | ||
"description": "This bundle provides translations for entities in your project. It's a bundle, but can be used standalone.", | ||
"type": "symfony-bundle", | ||
"authors": [ | ||
{ | ||
"name": "Bozhidar Hristov", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"keywords": [ | ||
"translation" | ||
], | ||
"require-dev": { | ||
"phpunit/phpunit": "^5.7", | ||
"symfony/symfony": "~2.8 | ~3.0", | ||
"doctrine/orm": "~2.5.0", | ||
"doctrine/doctrine-bundle": "~1.8" | ||
}, | ||
"suggest": { | ||
"doctrine/orm": "Autoload translations with Doctrine ORM", | ||
"symfony/symfony": "Needed for easy integration into Symfony", | ||
"twig/twig": "Needed to use Twig Extension to translate in twig.", | ||
"symfony/property-access": "Needed for Twig extension to translate", | ||
"symfony/translation": "Needed if you want to use Symfony Translation's configuration. Otherwise this bundle should be setup separately.", | ||
"symfony/form": "Needed if you want to use forms to translate entities.", | ||
"doctrine/doctrine-bundle": "Needed if you want to use forms to translate entities." | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"VM5\\EntityTranslationsBundle\\": "" | ||
} | ||
} | ||
], | ||
"keywords": [ | ||
"translation" | ||
], | ||
"require-dev": { | ||
"phpunit/phpunit": "^5.7", | ||
"symfony/symfony": "~2.8 | ~3.0", | ||
"doctrine/orm": "~2.5.0", | ||
"doctrine/doctrine-bundle": "~1.8" | ||
}, | ||
"suggest": { | ||
"doctrine/orm": "Autoload translations with Doctrine ORM", | ||
"symfony/symfony": "Needed for easy integration into Symfony", | ||
"twig/twig": "Needed to use Twig Extension to translate in twig.", | ||
"symfony/property-access": "Needed for Twig extension to translate", | ||
"symfony/translation": "Needed if you want to use Symfony Translation's configuration. Otherwise this bundle should be setup separately.", | ||
"symfony/form": "Needed if you want to use forms to translate entities.", | ||
"doctrine/doctrine-bundle": "Needed if you want to use forms to translate entities." | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"VM5\\EntityTranslationsBundle\\": "" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,4 +31,4 @@ | |
</exclude> | ||
</whitelist> | ||
</filter> | ||
</phpunit> | ||
</phpunit> |