Show all the invalid properties with reasons.

@return array invalid properties with reasons
16433
public function listInvalidProperties()
    {
        $invalidProperties = [];

        if ($this->container['created'] === null) {
            $invalidProperties[] = "'created' can't be null";
        }
        if ($this->container['id'] === null) {
            $invalidProperties[] = "'id' can't be null";
        }
        if (!preg_match("/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/", $this->container['id'])) {
            $invalidProperties[] = "invalid value for 'id', must be conform to the pattern /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.";
        }

        if (!is_null($this->container['new_version']) && !preg_match("/^(([0-9]|[1-9][0-9]*)\\.([0-9]|[1-9][0-9]*)\\.([0-9]|[1-9][0-9]*)(?:-([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?(?:\\+[0-9A-Za-z-]+)?)?$/", $this->container['new_version'])) {
            $invalidProperties[] = "invalid value for 'new_version', must be conform to the pattern /^(([0-9]|[1-9][0-9]*)\\.([0-9]|[1-9][0-9]*)\\.([0-9]|[1-9][0-9]*)(?:-([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?(?:\\+[0-9A-Za-z-]+)?)?$/.";
        }

        if ($this->container['org_id'] === null) {
            $invalidProperties[] = "'org_id' can't be null";
        }
        if (!preg_match("/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/", $this->container['org_id'])) {
            $invalidProperties[] = "invalid value for 'org_id', must be conform to the pattern /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.";
        }

        if ($this->container['services'] === null) {
            $invalidProperties[] = "'services' can't be null";
        }
        if ($this->container['title'] === null) {
            $invalidProperties[] = "'title' can't be null";
        }
        if ($this->container['updated'] === null) {
            $invalidProperties[] = "'updated' can't be null";
        }
        if (!is_null($this->container['version']) && !preg_match("/^(([0-9]|[1-9][0-9]*)\\.([0-9]|[1-9][0-9]*)\\.([0-9]|[1-9][0-9]*)(?:-([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?(?:\\+[0-9A-Za-z-]+)?)?$/", $this->container['version'])) {
            $invalidProperties[] = "invalid value for 'version', must be conform to the pattern /^(([0-9]|[1-9][0-9]*)\\.([0-9]|[1-9][0-9]*)\\.([0-9]|[1-9][0-9]*)(?:-([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?(?:\\+[0-9A-Za-z-]+)?)?$/.";
        }

        return $invalidProperties;
    }
713540
public function listInvalidProperties()
  {
    $invalidProperties = [];

    $allowedValues = $this->getAccessLevelAllowableValues();
    if (!in_array($this->container['access_level'], $allowedValues)) {
      $invalidProperties[] = sprintf(
        "invalid value for 'access_level', must be one of '%s'",
        implode("', '", $allowedValues)
      );
    }

    return $invalidProperties;
  }
698034
public function criteriaAttributes(): array
    {
        // By default, include all public, non-static properties that were defined by a sub class, and certain ones
        // in this class
        /** @noinspection PhpUnhandledExceptionInspection */
        $class = new \ReflectionClass($this);
        $names = [];

        foreach ($class->getProperties(\ReflectionProperty::IS_PUBLIC) as $property) {
            if (!$property->isStatic()) {
                $dec = $property->getDeclaringClass();
                if (($dec->getName() === self::class || $dec->isSubclassOf(self::class))
                ) {
                    $names[] = $property->getName();
                }
            }
        }

        return $names;
    }
267837
private function isValid() {
		$data = $this->getTransient();
		$valid = array( 'key', 'cipher', 'iv', 'data' );
		if ( is_object( $data ) ) {
			$props = array_keys( get_object_vars( $data ) );
			$valid = array_diff( $valid, $props );
		}

		return empty( $valid );
	}
1159917
private function properties(): Properties
    {
        static $properties = null;
        if (null === $properties) {
            $properties = new Properties();
            foreach ($this->resourceLoader->availableResourceUris('input/error/message.ini') as $resourceUri) {
                $properties = $properties->merge(Properties::fromFile($resourceUri));
            }
        }

        return $properties;
    }
115052
public function listInvalidProperties()
    {
        $invalid_properties = array();
        if ($this->container['transcoderWatermark'] === null) {
            $invalid_properties[] = "'transcoderWatermark' can't be null";
        }
        if ($this->container['serverVersion'] === null) {
            $invalid_properties[] = "'serverVersion' can't be null";
        }
        if ($this->container['gpuAcceleration'] === null) {
            $invalid_properties[] = "'gpuAcceleration' can't be null";
        }
        if ($this->container['wseName'] === null) {
            $invalid_properties[] = "'wseName' can't be null";
        }
        if ($this->container['transcoderLicensed'] === null) {
            $invalid_properties[] = "'transcoderLicensed' can't be null";
        }
        if ($this->container['javaMaxHeapSize'] === null) {
            $invalid_properties[] = "'javaMaxHeapSize' can't be null";
        }
        if ($this->container['transcoderLicensesInUse'] === null) {
            $invalid_properties[] = "'transcoderLicensesInUse' can't be null";
        }
        if ($this->container['javaVersion'] === null) {
            $invalid_properties[] = "'javaVersion' can't be null";
        }
        if ($this->container['httpOriginAvailable'] === null) {
            $invalid_properties[] = "'httpOriginAvailable' can't be null";
        }
        if ($this->container['serverName'] === null) {
            $invalid_properties[] = "'serverName' can't be null";
        }
        if ($this->container['osArchitecture'] === null) {
            $invalid_properties[] = "'osArchitecture' can't be null";
        }
        if ($this->container['drmApplications'] === null) {
            $invalid_properties[] = "'drmApplications' can't be null";
        }
        if ($this->container['javaVMVersion'] === null) {
            $invalid_properties[] = "'javaVMVersion' can't be null";
        }
        if ($this->container['transcoderLicenses'] === null) {
            $invalid_properties[] = "'transcoderLicenses' can't be null";
        }
        if ($this->container['timeRunning'] === null) {
            $invalid_properties[] = "'timeRunning' can't be null";
        }
        if ($this->container['licenseType'] === null) {
            $invalid_properties[] = "'licenseType' can't be null";
        }
        if ($this->container['osBitness'] === null) {
            $invalid_properties[] = "'osBitness' can't be null";
        }
        if ($this->container['dvrApplications'] === null) {
            $invalid_properties[] = "'dvrApplications' can't be null";
        }
        if ($this->container['osVersion'] === null) {
            $invalid_properties[] = "'osVersion' can't be null";
        }
        if ($this->container['serverBuild'] === null) {
            $invalid_properties[] = "'serverBuild' can't be null";
        }
        if ($this->container['javaName'] === null) {
            $invalid_properties[] = "'javaName' can't be null";
        }
        if ($this->container['maxConnections'] === null) {
            $invalid_properties[] = "'maxConnections' can't be null";
        }
        if ($this->container['dvrLicensed'] === null) {
            $invalid_properties[] = "'dvrLicensed' can't be null";
        }
        if ($this->container['serverMode'] === null) {
            $invalid_properties[] = "'serverMode' can't be null";
        }
        if ($this->container['javaBitness'] === null) {
            $invalid_properties[] = "'javaBitness' can't be null";
        }
        if ($this->container['currentConnections'] === null) {
            $invalid_properties[] = "'currentConnections' can't be null";
        }
        if ($this->container['drmLicensed'] === null) {
            $invalid_properties[] = "'drmLicensed' can't be null";
        }
        if ($this->container['javaVendor'] === null) {
            $invalid_properties[] = "'javaVendor' can't be null";
        }
        if ($this->container['osName'] === null) {
            $invalid_properties[] = "'osName' can't be null";
        }
        if ($this->container['version'] === null) {
            $invalid_properties[] = "'version' can't be null";
        }
        if ($this->container['transcoderApplications'] === null) {
            $invalid_properties[] = "'transcoderApplications' can't be null";
        }
        if ($this->container['transcoderAvailable'] === null) {
            $invalid_properties[] = "'transcoderAvailable' can't be null";
        }
        if ($this->container['javaHome'] === null) {
            $invalid_properties[] = "'javaHome' can't be null";
        }
        if ($this->container['maxIncommingStreams'] === null) {
            $invalid_properties[] = "'maxIncommingStreams' can't be null";
        }
        if ($this->container['totalMemory'] === null) {
            $invalid_properties[] = "'totalMemory' can't be null";
        }
        if ($this->container['availableMemory'] === null) {
            $invalid_properties[] = "'availableMemory' can't be null";
        }
        if ($this->container['nativeBase'] === null) {
            $invalid_properties[] = "'nativeBase' can't be null";
        }
        if ($this->container['dvrInUse'] === null) {
            $invalid_properties[] = "'dvrInUse' can't be null";
        }
        if ($this->container['drmInUse'] === null) {
            $invalid_properties[] = "'drmInUse' can't be null";
        }
        if ($this->container['licenseExpireDate'] === null) {
            $invalid_properties[] = "'licenseExpireDate' can't be null";
        }
        if ($this->container['processorCores'] === null) {
            $invalid_properties[] = "'processorCores' can't be null";
        }
        if ($this->container['restAPIAvailable'] === null) {
            $invalid_properties[] = "'restAPIAvailable' can't be null";
        }
        return $invalid_properties;
    }
468383
public function listInvalidProperties()
    {
        $invalidProperties = [];

        $allowedValues = $this->getMimeTypeAllowableValues();
        if (!is_null($this->container['mime_type']) && !in_array($this->container['mime_type'], $allowedValues, true)) {
            $invalidProperties[] = sprintf(
                "invalid value for 'mime_type', must be one of '%s'",
                implode("', '", $allowedValues)
            );
        }

        return $invalidProperties;
    }
384320
public function getAllErrors() {

        $errors = array();
        // First the table itself
        if ($this->getError()) {
            $errors[] = $this->getError();
        }
        // Delegate to fields
        if ($fields = $this->getFields()) {
            foreach ($fields as $field) {
                if ($field->getError()) {
                    $errors[] = $field->getError();
                }
            }
        }
        // Delegate to keys
        if ($keys = $this->getKeys()) {
            foreach ($keys as $key) {
                if ($key->getError()) {
                    $errors[] = $key->getError();
                }
            }
        }
        // Delegate to indexes
        if ($indexes = $this->getIndexes()) {
            foreach ($indexes as $index) {
                if ($index->getError()) {
                    $errors[] = $index->getError();
                }
            }
        }
        // Return decision
        if (count($errors)) {
            return $errors;
        } else {
            return false;
        }
    }
892189
public function listInvalidProperties()
    {
        $invalid_properties = [];

        if ($this->container['name'] === null) {
            $invalid_properties[] = "'name' can't be null";
        }
        if ($this->container['document_type'] === null) {
            $invalid_properties[] = "'document_type' can't be null";
        }
        $allowed_values = $this->getDocumentTypeAllowableValues();
        if (!in_array($this->container['document_type'], $allowed_values)) {
            $invalid_properties[] = sprintf(
                "invalid value for 'document_type', must be one of '%s'",
                implode("', '", $allowed_values)
            );
        }

        if ($this->container['document_content'] === null) {
            $invalid_properties[] = "'document_content' can't be null";
        }
        $allowed_values = $this->getStrictAllowableValues();
        if (!in_array($this->container['strict'], $allowed_values)) {
            $invalid_properties[] = sprintf(
                "invalid value for 'strict', must be one of '%s'",
                implode("', '", $allowed_values)
            );
        }

        return $invalid_properties;
    }
384725
public function propertiesRules()
    {
        $rules = [];
        $this->ensurePropertiesAttributes();

        if (empty($this->propertiesIds) === false) {
            foreach ($this->propertiesIds as $propertyId) {
                /** @var Property $property */
                $property = Property::findById($propertyId);
                $handler = $property->handler();

                $rules = ArrayHelper::merge($rules, $handler->getValidationRules($property));
                if ($property->isRequired()) {
                    $rules = ArrayHelper::merge($rules, [[$property->key, 'required']]);
                }
            }
        }
        return $rules;
    }
1262188
public function listInvalidProperties()
    {
        $invalidProperties = [];

        if (!is_null($this->container['picture']) && !preg_match("/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/", $this->container['picture'])) {
            $invalidProperties[] = "invalid value for 'picture', must be conform to the pattern /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.";
        }

        if ($this->container['section'] === null) {
            $invalidProperties[] = "'section' can't be null";
        }
        return $invalidProperties;
    }
1243633
public function listInvalidProperties()
    {
        $invalidProperties = [];

        $allowedValues = $this->getEllStatusAllowableValues();
        if (!in_array($this->container['ell_status'], $allowedValues)) {
            $invalidProperties[] = sprintf(
                "invalid value for 'ell_status', must be one of '%s'",
                implode("', '", $allowedValues)
            );
        }

        $allowedValues = $this->getGenderAllowableValues();
        if (!in_array($this->container['gender'], $allowedValues)) {
            $invalidProperties[] = sprintf(
                "invalid value for 'gender', must be one of '%s'",
                implode("', '", $allowedValues)
            );
        }

        $allowedValues = $this->getGradeAllowableValues();
        if (!in_array($this->container['grade'], $allowedValues)) {
            $invalidProperties[] = sprintf(
                "invalid value for 'grade', must be one of '%s'",
                implode("', '", $allowedValues)
            );
        }

        $allowedValues = $this->getHispanicEthnicityAllowableValues();
        if (!in_array($this->container['hispanic_ethnicity'], $allowedValues)) {
            $invalidProperties[] = sprintf(
                "invalid value for 'hispanic_ethnicity', must be one of '%s'",
                implode("', '", $allowedValues)
            );
        }

        $allowedValues = $this->getHomeLanguageAllowableValues();
        if (!in_array($this->container['home_language'], $allowedValues)) {
            $invalidProperties[] = sprintf(
                "invalid value for 'home_language', must be one of '%s'",
                implode("', '", $allowedValues)
            );
        }

        $allowedValues = $this->getRaceAllowableValues();
        if (!in_array($this->container['race'], $allowedValues)) {
            $invalidProperties[] = sprintf(
                "invalid value for 'race', must be one of '%s'",
                implode("', '", $allowedValues)
            );
        }

        return $invalidProperties;
    }
236363
function valid()
    {
        list($this->_fieldId, $this->_field) = each($this->_fields);
        return $this->_fieldId !== null;
    }
7853
public function getFlatErrors(): array
    {
        /**
         * Reducer that flat the errors.
         *
         * @param array   $carry previous error list
         * @param Invalid $item  to append to $carry
         *
         * @return array<Invalid>
         */
        $reduce = function(array $carry, Invalid $item) use(&$reduce) {
            if ($item instanceof self) {
                $carry = array_merge($carry, $item->getFlatErrors());
            } else {
                $carry[] = $item;
            }
            if ($item->getPrevious()) {
                $carry = $reduce($carry, $item->getPrevious());
            }

            return $carry;
        };

        return array_reduce($this->errors, $reduce, []);
    }
205625
public function getInvalidAttribs()
    {
        return array_combine(
            array_keys($this->invalidAttribs),
            array_map(function ($ref) {
                return $ref['attrib'];
            }, array_values($this->invalidAttribs))
        );
    }
1212240
public function listInvalidProperties()
    {
        $invalidProperties = [];

        $allowedValues = $this->getGradeAllowableValues();
        if (!in_array($this->container['grade'], $allowedValues)) {
            $invalidProperties[] = sprintf(
                "invalid value for 'grade', must be one of '%s'",
                implode("', '", $allowedValues)
            );
        }

        $allowedValues = $this->getSubjectAllowableValues();
        if (!in_array($this->container['subject'], $allowedValues)) {
            $invalidProperties[] = sprintf(
                "invalid value for 'subject', must be one of '%s'",
                implode("', '", $allowedValues)
            );
        }

        return $invalidProperties;
    }
1206751
def list_invalid_properties
      invalid_properties = Array.new
      if !@max_items.nil? && @max_items < 1
        invalid_properties.push("invalid value for 'max_items', must be greater than or equal to 1.")
      end

      if !@skip_count.nil? && @skip_count < 0
        invalid_properties.push("invalid value for 'skip_count', must be greater than or equal to 0.")
      end

      return invalid_properties
    end