Prune more unneeded PHP bits

This commit is contained in:
Graham Christensen 2018-02-23 22:00:37 -05:00
parent e1cb289d80
commit 695fea935a
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C
3 changed files with 3 additions and 23 deletions

View file

@ -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
View file

@ -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,

View file

@ -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());
}
}