Skip to content

Commit c262c10

Browse files
committed
Migrate project to new organisation.
1 parent c184142 commit c262c10

File tree

17 files changed

+162
-148
lines changed

17 files changed

+162
-148
lines changed

.github/CODEOWNERS

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/FUNDING.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/settings.yml

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
11
# https://github.com/probot/settings
22

3-
branches:
4-
- name: master
5-
protection:
6-
enforce_admins: false
7-
required_pull_request_reviews:
8-
dismiss_stale_reviews: true
9-
require_code_owner_reviews: true
10-
required_approving_review_count: 1
11-
required_status_checks:
12-
contexts:
13-
- "Grumphp"
14-
strict: false
15-
restrictions: null
16-
173
labels:
184
- name: bug
195
color: ee0701
@@ -36,15 +22,19 @@ labels:
3622
repository:
3723
allow_merge_commit: true
3824
allow_rebase_merge: false
39-
allow_squash_merge: false
25+
allow_squash_merge: true
4026
default_branch: master
41-
description: "Symfony bundle to authenticate users against EU Login."
42-
homepage: https://eulogin-bundle.readthedocs.io
43-
topics: authentication,cas,psr,single-sign-on
27+
description: "EU Login bundle, a standard Symfony bundle to authenticate users against EU Login."
28+
homepage: https://ecphp-eu-login-bundle.readthedocs.io
29+
topics: authentication,cas,ecas,eulogin,single-sign-on
4430
has_downloads: true
4531
has_issues: true
4632
has_pages: false
4733
has_projects: false
4834
has_wiki: false
49-
name: eulogin-bundle
35+
name: eu-login-bundle
5036
private: false
37+
38+
teams:
39+
- name: core
40+
permission: push
Lines changed: 45 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,52 @@
11
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions
22

33
on:
4-
- pull_request
5-
- push
4+
- pull_request
5+
- push
66

77
name: "Continuous Integration"
88

99
jobs:
10-
run:
11-
name: "Grumphp"
12-
runs-on: ${{ matrix.operating-system }}
13-
strategy:
14-
fail-fast: false
15-
matrix:
16-
operating-system: [ubuntu-latest, windows-latest, macOS-latest]
17-
php-versions: ['7.1', '7.2', '7.3', '7.4']
18-
19-
steps:
20-
- name: Checkout
21-
uses: actions/checkout@master
22-
with:
23-
fetch-depth: 1
24-
25-
- name: Install PHP
26-
uses: shivammathur/setup-php@master
27-
with:
28-
php-version: ${{ matrix.php-versions }}
29-
extensions: xdebug
30-
31-
- name: Get Composer Cache Directory
32-
id: composer-cache
33-
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
34-
35-
- name: Cache dependencies
36-
uses: actions/cache@v1
37-
with:
38-
path: ${{ steps.composer-cache.outputs.dir }}
39-
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
40-
restore-keys: ${{ runner.os }}-composer-
41-
42-
- name: Install dependencies
43-
run: composer install --no-progress --no-suggest --prefer-dist --optimize-autoloader
44-
45-
- name: Run Grumphp
46-
run: vendor/bin/grumphp run
47-
env:
48-
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
49-
50-
- name: Scrutinizer
51-
run: vendor/bin/ocular code-coverage:upload --format=php-clover build/logs/clover.xml
10+
run:
11+
name: "Grumphp"
12+
runs-on: ${{ matrix.operating-system }}
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
operating-system: [ubuntu-latest, windows-latest, macOS-latest]
17+
php-versions: ['7.2', '7.3', '7.4']
18+
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@master
22+
with:
23+
fetch-depth: 1
24+
25+
- name: Install PHP
26+
uses: shivammathur/setup-php@master
27+
with:
28+
php-version: ${{ matrix.php-versions }}
29+
extensions: xdebug,mbstring
30+
31+
- name: Get Composer Cache Directory
32+
id: composer-cache
33+
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
34+
35+
- name: Cache dependencies
36+
uses: actions/cache@v1
37+
with:
38+
path: ${{ steps.composer-cache.outputs.dir }}
39+
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
40+
restore-keys: ${{ runner.os }}-composer-
41+
42+
- name: Install dependencies
43+
run: composer install --no-progress --no-suggest --prefer-dist --optimize-autoloader
44+
45+
- name: Run Grumphp
46+
run: vendor/bin/grumphp run
47+
env:
48+
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
49+
50+
- name: Scrutinizer
51+
run: vendor/bin/ocular code-coverage:upload --format=php-clover build/logs/clover.xml
52+
continue-on-error: true

LICENSE

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
BSD 3-Clause License
2+
3+
Copyright (c) 2020, ECPHP
4+
All rights reserved.
5+
6+
Redistribution and use in source and binary forms, with or without
7+
modification, are permitted provided that the following conditions are met:
8+
9+
1. Redistributions of source code must retain the above copyright notice, this
10+
list of conditions and the following disclaimer.
11+
12+
2. Redistributions in binary form must reproduce the above copyright notice,
13+
this list of conditions and the following disclaimer in the documentation
14+
and/or other materials provided with the distribution.
15+
16+
3. Neither the name of the copyright holder nor the names of its
17+
contributors may be used to endorse or promote products derived from
18+
this software without specific prior written permission.
19+
20+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
1-
[![Latest Stable Version](https://img.shields.io/packagist/v/drupol/eulogin-bundle.svg?style=flat-square)](https://packagist.org/packages/drupol/eulogin-bundle)
2-
[![GitHub stars](https://img.shields.io/github/stars/drupol/eulogin-bundle.svg?style=flat-square)](https://packagist.org/packages/drupol/eulogin-bundle)
3-
[![Total Downloads](https://img.shields.io/packagist/dt/drupol/eulogin-bundle.svg?style=flat-square)](https://packagist.org/packages/drupol/eulogin-bundle)
4-
[![Build Status](https://img.shields.io/travis/drupol/eulogin-bundle/master.svg?style=flat-square)](https://travis-ci.org/drupol/eulogin-bundle)
5-
[![Scrutinizer code quality](https://img.shields.io/scrutinizer/quality/g/drupol/eulogin-bundle/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/drupol/eulogin-bundle/?branch=master)
6-
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/drupol/eulogin-bundle/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/drupol/eulogin-bundle/?branch=master)
7-
[![Mutation testing badge](https://badge.stryker-mutator.io/github.com/drupol/eulogin-bundle/master)](https://stryker-mutator.github.io)
8-
[![Read the Docs](https://img.shields.io/readthedocs/eulogin-bundle?style=flat-square)](https://eulogin-bundle.readthedocs.io/)
9-
[![License](https://img.shields.io/packagist/l/drupol/eulogin-bundle.svg?style=flat-square)](https://packagist.org/packages/drupol/eulogin-bundle)
10-
[![Say Thanks!](https://img.shields.io/badge/Say-thanks-brightgreen.svg?style=flat-square)](https://saythanks.io/to/drupol)
11-
[![Donate!](https://img.shields.io/badge/Donate-Paypal-brightgreen.svg?style=flat-square)](https://paypal.me/drupol)
12-
13-
# EU login bundle
1+
[![Latest Stable Version](https://img.shields.io/packagist/v/ecphp/eu-login-bundle.svg?style=flat-square)](https://packagist.org/packages/ecphp/eu-login-bundle)
2+
[![GitHub stars](https://img.shields.io/github/stars/ecphp/eu-login-bundle.svg?style=flat-square)](https://packagist.org/packages/ecphp/eu-login-bundle)
3+
[![Total Downloads](https://img.shields.io/packagist/dt/ecphp/eu-login-bundle.svg?style=flat-square)](https://packagist.org/packages/ecphp/eu-login-bundle)
4+
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/ecphp/eu-login-bundle/Continuous%20Integration/master?style=flat-square)](https://github.com/ecphp/eu-login-bundle/actions)
5+
[![Scrutinizer code quality](https://img.shields.io/scrutinizer/quality/g/ecphp/eu-login-bundle/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/ecphp/eu-login-bundle/?branch=master)
6+
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/ecphp/eu-login-bundle/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/ecphp/eu-login-bundle/?branch=master)
7+
[![Read the Docs](https://img.shields.io/readthedocs/ecphp-eu-login-bundle?style=flat-square)](https://ecphp-eu-login-bundle.readthedocs.io/)
8+
[![License](https://img.shields.io/packagist/l/ecphp/eu-login-bundle.svg?style=flat-square)](https://packagist.org/packages/ecphp/eu-login-bundle)
149

15-
A EU login bundle for Symfony 4 & 5.
10+
# EU Login bundle
1611

17-
Read more on the dedicated documentation site: https://eulogin-bundle.readthedocs.io/
12+
EU Login bundle for Symfony 4 & 5.
13+
14+
Read more on the dedicated documentation site: https://ecphp-eu-login-bundle.readthedocs.io/

Resources/config/packages/eulogin_cas_services.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
services:
22
eulogin.userprovider:
3-
class: drupol\EuloginBundle\Security\Core\User\EuloginUserProvider
3+
class: EcPhp\EuLoginBundle\Security\Core\User\EuLoginUserProvider
44
cas:
5-
class: drupol\ecas\Ecas
5+
class: EcPhp\Ecas\Ecas
66
arguments:
77
$serverRequest: '@cas.psrrequest'
88
$properties: '@cas.configuration'

composer.json

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "drupol/eulogin-bundle",
2+
"name": "ecphp/eu-login-bundle",
33
"type": "symfony-bundle",
44
"description": "A bundle for Symfony 4 & 5, providing authentication against European Commission authentication service.",
55
"keywords": [
@@ -11,30 +11,29 @@
1111
"single sign-on",
1212
"sso"
1313
],
14-
"license": "MIT",
14+
"license": "BSD-3-Clause",
1515
"require": {
1616
"php": ">= 7.2.5",
1717
"ext-json": "*",
1818
"ext-simplexml": "*",
19-
"drupol/cas-bundle": "dev-master || 4.4.x-dev",
20-
"drupol/ecas": "dev-master",
19+
"ecphp/cas-bundle": "dev-master || 4.4.x-dev",
20+
"ecphp/ecas": "dev-master",
2121
"symfony/framework-bundle": "^5"
2222
},
2323
"require-dev": {
24-
"drupol/php-conventions": "^1.6.11",
24+
"drupol/php-conventions": "^1.6.12",
2525
"friends-of-phpspec/phpspec-code-coverage": "^4.3.2",
26-
"infection/infection": "^0.13.6",
27-
"nyholm/psr7-server": "^0.4.1",
28-
"phpspec/phpspec": "^5.1.2"
26+
"infection/infection": "^0.15.0",
27+
"phpspec/phpspec": "^6.1.1"
2928
},
3029
"autoload": {
3130
"psr-4": {
32-
"drupol\\EuloginBundle\\": "src/"
31+
"EcPhp\\EuLoginBundle\\": "src/"
3332
}
3433
},
3534
"autoload-dev": {
3635
"psr-4": {
37-
"spec\\drupol\\EuloginBundle\\": "./spec/drupol/EuloginBundle/"
36+
"spec\\EcPhp\\EuLoginBundle\\": "spec/EcPhp/EuLoginBundle/"
3837
}
3938
},
4039
"minimum-stability": "dev",

docs/pages/installation.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The easiest way to install it is through Composer_
1515

1616
.. code-block:: bash
1717
18-
composer require drupol/eulogin-bundle
18+
composer require ecphp/eu-login-bundle
1919
2020
Step 2
2121
~~~~~~
@@ -26,23 +26,23 @@ You should see a line that looks like the following:
2626

2727
.. code-block:: php
2828
29-
drupol\\EuloginBundle\\EuloginBundle::class => ['all' => true],
29+
EcPhp\\EuLoginBundle\\EuLoginBundle::class => ['all' => true],
3030
3131
Step 3
3232
~~~~~~
3333

34-
As this package depends on the package `drupol/cas-bundle`, you will need to copy
34+
As this package depends on the package `ecphp/cas-bundle`, you will need to copy
3535
some configuration files from that package first.
3636

3737
.. code-block:: bash
3838
39-
cp -ar vendor/drupol/cas-bundle/Resources/config/* config/
39+
cp -ar vendor/ecphp/cas-bundle/Resources/config/* config/
4040
41-
Then, copy the configuration files from the bundle `drupol/eulogin-bundle` in your application
41+
Then, copy the configuration files from the bundle `ecphp/eu-login-bundle` in your application
4242

4343
.. code-block:: bash
4444
45-
cp -ar vendor/drupol/eulogin-bundle/Resources/config/* config/
45+
cp -ar vendor/ecphp/eu-login-bundle/Resources/config/* config/
4646
4747
.. warning:: It is important to play those commands in the proper order.
4848

docs/pages/tests.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ will check your code
4747
4848
.. _PSR-12: https://www.php-fig.org/psr/psr-12/
4949
.. _drupol/php-conventions: https://github.com/drupol/php-conventions
50-
.. _Travis CI: https://travis-ci.org/drupol/cas-bundle/builds
51-
.. _Github Actions: https://github.com/drupol/cas-bundle/actions
50+
.. _Travis CI: https://travis-ci.org/ecphp/cas-bundle/builds
51+
.. _Github Actions: https://github.com/ecphp/cas-bundle/actions
5252
.. _PHPSpec: http://www.phpspec.net/
5353
.. _PHPInfection: https://github.com/infection/infection
5454
.. _Grumphp: https://github.com/phpro/grumphp

0 commit comments

Comments
 (0)