for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* simpleSAMLphp-casserver is a CAS 1.0 and 2.0 compliant CAS server in the form of a simpleSAMLphp module
*
* Copyright (C) 2013 Bjorn R. Jensen
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
namespace SimpleSAML\Module\casserver\Cas\Protocol;
class Cas10
{
public function __construct($config)
$config
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
public function __construct(/** @scrutinizer ignore-unused */ $config)
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
}
public function getValidateSuccessResponse($username)
return "yes\n".$username."\n";
public function getValidateFailureResponse()
return "no\n\n";
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.