smash3d / ma-petite-moustache Goto Github PK
View Code? Open in Web Editor NEWpowering up Mon petit gazon
License: MIT License
powering up Mon petit gazon
License: MIT License
SensioLabsInsight was not able to boot your Symfony application. If you need to customize files or run commands to make it bootable, you can edit your SensioLabsInsight project configuration to override the default "pre_composer_script" and/or "post_composer_script" settings.
PDOException: SQLSTATE[HY000] [2002] Connection refused in /home/foobar/code/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43
Stack trace:
#0 /home/foobar/code/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(43): PDO->__construct('mysql:host=127....', 'root', NULL, Array)
#1 /home/foobar/code/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php(41): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=127....', 'root', NULL, Array)
#2 /home/foobar/code/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(360): Doctrine\DBAL\Driver\PDOMySql\Driver->connect(Array, 'root', NULL, Array)
#3 /home/foobar/code/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(429): Doctrine\DBAL\Connection->connect()
#4 /home/foobar/code/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(389): Doctrine\DBAL\Connection->getDatabasePlatformVersion()
#5 /home/foobar/code/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(328): Doctrine\DBAL\Connection->detectDatabasePlatform()
#6 /home/foobar/code/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php(763): Doctrine\DBAL\Connection->getDatabasePlatform()
#7 /home/foobar/code/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php(616): Doctrine\ORM\Mapping\ClassMetadataFactory->getTargetPlatform()
#8 /home/foobar/code/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php(174): Doctrine\ORM\Mapping\ClassMetadataFactory->completeIdGeneratorMapping(Object(Doctrine\ORM\Mapping\ClassMetadata))
#9 /home/foobar/code/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php(332
description : The property description is required
{
"name": "tomew/ma-petite-moustache",
"license": "proprietary",
"type": "project",
"autoload": {
"psr-4": {
Posted from SensioLabsInsight
lots of typehints missing
Public directory
web
contains PHP fileweb/info.php
.
web/
├── app.php
├── app_dev.php
├── apple-touch-icon.png
├── config.php
├── favicon.ico
├── info.php
└── robots.txt
Posted from SensioLabsInsight
in src/StatsBundle/Entity/Synonym.php, line 182
The
Real_Team
type hint resolves to theStatsBundle\Entity\Real_Team
class which PHP does not seem to be able to autoload.
Did you meanStatsBundle\Entity\RealTeam
instead?
*
* @param \StatsBundle\Entity\Real_Team $team
*
* @return Synonym
*/
public function setTeam(\StatsBundle\Entity\Real_Team $team = null)
{
$this->team = $team;
return $this;
}
Posted from SensioLabsInsight
Your project contains files with permissive permissions. In order to avoid opening a security breach, you should restrict execution rights on following files:
This
config.php
file should only be used to bootstrap a Symfony application. Before releasing to production, you should remove it, otherwise attackers could get valuable insight about your application.
web/
├── app.php
├── app_dev.php
├── apple-touch-icon.png
├── config.php
├── favicon.ico
├── info.php
└── robots.txt
Posted from SensioLabsInsight
in src/StatsBundle/Service/SynonymManager.php, line 67
Boolean property accessor should not be
setIsXXX
norgetIsXXX
butsetXXX
andisXXX
.
* @param string $name the name sent by the parser
* @param integer $realTeamId the teamID
*
* @return null/string
*/
public function getIsSynonymFor($name, $realTeamId)
{
$aka = null;
$synonym = $this->_em
->getRepository('StatsBundle:Synonym')
->createQueryBuilder('s')
Posted from SensioLabsInsight
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.