Skip to content

Commit

Permalink
Update project, fix few bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
petk committed May 19, 2017
1 parent 6056d09 commit 551ee27
Show file tree
Hide file tree
Showing 11 changed files with 89 additions and 70 deletions.
2 changes: 1 addition & 1 deletion .docker/app/Dockerfile
@@ -1,4 +1,4 @@
FROM phpearth/php:alpine
FROM petk/php:alpine

RUN install-php-ext swoole \
&& apk --no-cache add git \
Expand Down
2 changes: 1 addition & 1 deletion .docker/docker-compose.node.yml
Expand Up @@ -2,7 +2,7 @@ version: '3.2'

services:
node:
image: node:7.9-alpine
image: node:7.10-alpine
container_name: node
volumes:
- ../:/var/www/html
Expand Down
22 changes: 22 additions & 0 deletions .dockerignore
@@ -0,0 +1,22 @@
.git
node_modules
tests
var/cache/*
var/session/*
var/logs/*
web/app_dev.php
web/app.php
web/config.php
.dockerignore
.gitignore
.scrutinizer.yml
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
gulpfile.js
LICENSE
Makefile
package.json
phpunit.xml.dist
README.md
yarn.lock
8 changes: 5 additions & 3 deletions .travis.yml
Expand Up @@ -5,9 +5,11 @@ php:
- nightly

before_install:
- travis_retry composer self-update
- travis_retry composer self-update
- pecl install swoole

install:
- travis_retry composer install --no-interaction --prefer-dist
- travis_retry composer install --no-interaction --prefer-dist

script: phpunit
script:
- vendor/bin/phpunit
12 changes: 9 additions & 3 deletions CHANGELOG.md
Expand Up @@ -5,7 +5,15 @@ All notable changes to this project will be documented in this file. This projec
[Semantic Versioning](http://semver.org/).


## [UNREALEASED] 2016-
## [UNREALEASED] 2017-01-01

### Added

* Upgrade to Symfony 3.2
* Swoole Extension
* ...

## [1.1.0] - 2017-05-19

### Added

Expand All @@ -15,8 +23,6 @@ All notable changes to this project will be documented in this file. This projec
* Single AppBundle project structure
* Gulp for managing web assets
* [PHP-PM](https://github.com/php-pm)
* ...


## [1.0.0] - 2016-06-12

Expand Down
5 changes: 1 addition & 4 deletions LICENSE
@@ -1,9 +1,6 @@
Symfony.si application
----------------------

The MIT License (MIT)

Copyright (c) 2013-2017 Peter Kokot
Copyright (c) 2013-present Peter Kokot

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions app/Resources/views/base.html.twig
Expand Up @@ -8,8 +8,8 @@
<meta name="author" content="Symfony Slovenia">
<meta property="og:title" content="Symfony and PHP local user group">
<meta property="og:type" content="article">
<meta property="og:url" content="https://symfony.si">
<meta property="og:image" content="https://symfony.si/images/header.png">
<meta property="og:url" content="{{ app.request.uri }}">
<meta property="og:image" content="{% block image %}{{ absolute_url(asset('assets/img/header.png')) }}{% endblock %}">
<meta property="og:description" content="Symfony and PHP local user group">
<meta property="og:site_name" content="Symfony Slovenia">

Expand Down
24 changes: 11 additions & 13 deletions composer.json
Expand Up @@ -7,10 +7,8 @@
"homepage": "https://symfony.si",
"authors": [
{
"name": "Peter Kokot",
"email": "peterkokot@gmail.com",
"homepage": "https://m-m.si",
"role": "Developer"
"name": "Symfony.si Contributors",
"homepage": "https://github.com/symfony-si/symfony.si/graphs/contributors"
}
],
"autoload": {
Expand All @@ -28,21 +26,21 @@
"doctrine/doctrine-cache-bundle": "^1.2",
"doctrine/orm": "^2.5",
"incenteev/composer-parameter-handler": "^2.0",
"knplabs/github-api": "^2.3",
"mnapoli/front-yaml": "^1.5",
"php-earth/swoole-engine": "dev-master",
"php-http/guzzle6-adapter": "^1.1",
"sensio/distribution-bundle": "^5.0",
"sensio/framework-extra-bundle": "^3.0.2",
"symfony-si/conduct": "*",
"symfony-si/fig-standards-sl": "*",
"symfony-si/symfony-cheatsheet": "*",
"symfony-si/symfony-resources": "*",
"symfony/monolog-bundle": "^3.0.2",
"symfony/polyfill-apcu": "^1.0",
"symfony/swiftmailer-bundle": "^2.3.10",
"symfony/symfony": "3.2.*",
"twig/twig": "^1.0||^2.0"
"twig/twig": "^1.0||^2.0",
"knplabs/github-api": "^2.3",
"mnapoli/front-yaml": "^1.5",
"php-http/guzzle6-adapter": "^1.1",
"php-earth/swoole-engine": "dev-master",
"symfony-si/conduct": "*",
"symfony-si/fig-standards-sl": "*",
"symfony-si/symfony-cheatsheet": "*",
"symfony-si/symfony-resources": "*"
},
"require-dev": {
"sensio/generator-bundle": "^3.0",
Expand Down
72 changes: 36 additions & 36 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions var/SymfonyRequirements.php
Expand Up @@ -633,12 +633,6 @@ function_exists('mb_strlen'),
'Install and enable the <strong>mbstring</strong> extension.'
);

$this->addRecommendation(
function_exists('iconv'),
'iconv() should be available',
'Install and enable the <strong>iconv</strong> extension.'
);

$this->addRecommendation(
function_exists('utf8_decode'),
'utf8_decode() should be available',
Expand Down
2 changes: 1 addition & 1 deletion web/config.php
Expand Up @@ -11,7 +11,7 @@
*/

if (!isset($_SERVER['HTTP_HOST'])) {
exit('This script cannot be run from the CLI. Run it from a browser.');
exit("This script cannot be run from the CLI. Run it from a browser.\n");
}

if (!in_array(@$_SERVER['REMOTE_ADDR'], array(
Expand Down

0 comments on commit 551ee27

Please sign in to comment.