Prune more unneeded PHP bits
This commit is contained in:
parent
e1cb289d80
commit
695fea935a
|
@ -1,9 +1,5 @@
|
|||
{
|
||||
"require": {
|
||||
"php-amqplib/php-amqplib": ">=2.6.1"
|
||||
},
|
||||
"minimum-stability": "dev",
|
||||
"autoload": {
|
||||
"psr-4": {"GHE\\": "src/"}
|
||||
}
|
||||
}
|
||||
|
|
6
php/composer.lock
generated
6
php/composer.lock
generated
|
@ -4,11 +4,11 @@
|
|||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "dc3ed822ebc471c3f81c3a8a787af555",
|
||||
"content-hash": "f0b42ac9169509834501cb7aa271b580",
|
||||
"packages": [
|
||||
{
|
||||
"name": "php-amqplib/php-amqplib",
|
||||
"version": "dev-master",
|
||||
"version": "v2.7.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/php-amqplib/php-amqplib.git",
|
||||
|
@ -80,7 +80,7 @@
|
|||
],
|
||||
"packages-dev": [],
|
||||
"aliases": [],
|
||||
"minimum-stability": "dev",
|
||||
"minimum-stability": "stable",
|
||||
"stability-flags": [],
|
||||
"prefer-stable": false,
|
||||
"prefer-lowest": false,
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
<?php
|
||||
namespace GHE;
|
||||
|
||||
class ACL {
|
||||
static public function getRepos() {
|
||||
return [
|
||||
'grahamc/elm-stuff',
|
||||
'nixos/nixpkgs',
|
||||
'nixos/nixpkgs-channels',
|
||||
];
|
||||
}
|
||||
|
||||
static public function isRepoEligible($repo) {
|
||||
return in_array(strtolower($repo), self::getRepos());
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue